~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/ignore.txt

  • Committer: Vincent Ladeuil
  • Date: 2009-12-14 15:51:36 UTC
  • mto: (4894.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4895.
  • Revision ID: v.ladeuil+lp@free.fr-20091214155136-rf4nkqvxda9oiw4u
Cleanup tests and tweak the text displayed.

* bzrlib/tests/blackbox/test_update.py:
Fix imports and replace the assertContainsRe with assertEqualDiff
to make the test clearer, more robust and easier to debug.

* bzrlib/tests/commands/test_update.py: 
Fix imports.

* bzrlib/tests/blackbox/test_filtered_view_ops.py: 
Fix imports and strange accesses to base class methods.
(TestViewTreeOperations.test_view_on_update): Avoid os.chdir()
call, simplify string matching assertions.

* bzrlib/builtins.py:
(cmd_update.run): Fix spurious space, get rid of the final '/' for
the base path, don't add a final period (it's a legal char in a
path and would be annoying for people that like to copy/paste).

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
7
 
CVS.  However, I won't implement all of this at first but rather add
8
 
bits as they seem to be needed.
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.)