106
by mbp at sourcefrog
design notes for ignore patterns |
1 |
Ignore patterns |
2 |
*************** |
|
3 |
||
4 |
Ignore patterns need to be flexible but simple. |
|
5 |
||
6 |
Based on the system from rsync, which is in turn based on that of |
|
108
by mbp at sourcefrog
doc: more on ignore patterns |
7 |
CVS. However, I won't implement all of this at first but rather add |
8 |
bits as they seem to be needed. |
|
106
by mbp at sourcefrog
design notes for ignore patterns |
9 |
|
10 |
First build a list by concatenating: |
|
11 |
||
12 |
* per-user configuration |
|
13 |
* per-tree configuration |
|
14 |
* command line options |
|
15 |
||
16 |
Just one ``.bzrignore`` at tree root? |
|
17 |
||
18 |
File can contain '+ ' and '- ' prefixes to include and exclude things, |
|
19 |
also '#' for comments. |
|
20 |
||
21 |
Should have a ``--ignore`` command line option that specifies ignore |
|
22 |
patterns; by putting a ! in this you can turn off any other includes. |
|
23 |
(Similar to CVS.) |