~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/controlling_registration.txt

  • Committer: Ian Clatworthy
  • Date: 2008-04-01 04:19:06 UTC
  • mfrom: (3302.6.1 xma-mailmode)
  • mto: This revision was merged to the branch mainline in revision 3323.
  • Revision ID: ian.clatworthy@canonical.com-20080401041906-s7ekpfpo0tnyfkbz
Add mail-mode GNU Emacs mail package as a mail client option (Xavier Maillard)

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    config.h                 ./config.h
74
74
    configure.in~            *~
75
75
 
76
 
Note that ignore patterns are only matched against non-versioned files,
77
 
and control whether they are treated as "unknown" or "ignored".  If a file
78
 
is explicitly added, it remains versioned regardless of whether it matches
79
 
an ignore pattern.
 
76
It is OK to have either an ignore pattern match a versioned file, or to
 
77
add an ignored file.  Ignore patterns have no effect on versioned files;
 
78
they only determine whether unversioned files are reported as unknown or
 
79
ignored.
80
80
 
81
81
The ``.bzrignore`` file should normally be versioned, so that new copies
82
82
of the branch see the same patterns::
84
84
    % bzr add .bzrignore
85
85
    % bzr commit -m "Add ignore patterns"
86
86
 
87
 
The command ``bzr ignore PATTERN`` can be used to easily add PATTERN to
88
 
the ``.bzrignore file`` (creating it if necessary and registering it to
89
 
be tracked by Bazaar).  Removing and modifying patterns are done by
90
 
directly editing the ``.bzrignore`` file.
91
 
 
92
87
Global ignores
93
88
--------------
94
89