[Pkg-bazaar-commits] ./bzr/unstable r420: Doc

Martin Pool mbp at sourcefrog.net
Fri Apr 10 07:52:14 UTC 2009


------------------------------------------------------------
revno: 420
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-10 10:47:18 +1000
message:
  Doc
modified:
  NEWS
  bzrlib/commands.py
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2005-05-09 08:27:49 +0000
+++ b/NEWS	2005-05-10 00:47:18 +0000
@@ -5,7 +5,7 @@
     * New 'bzr whoami --email' option shows only the email component
       of the user identification, from Jo Vermeulen.
 
-    * New 'bzr ignore PATTERN' command.
+    * New ``bzr ignore PATTERN`` command.
 
     * Nicer error message for broken pipe, interrupt and similar
       conditions that don't indicate an internal error.

=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py	2005-05-09 08:47:06 +0000
+++ b/bzrlib/commands.py	2005-05-10 00:47:18 +0000
@@ -484,7 +484,22 @@
 
 
 class cmd_ignore(Command):
-    """Ignore a command or pattern"""
+    """Ignore a command or pattern
+
+    To remove patterns from the ignore list, edit the .bzrignore file.
+
+    If the pattern contains a slash, it is compared to the whole path
+    from the branch root.  Otherwise, it is comapred to only the last
+    component of the path.
+
+    Ignore patterns are case-insensitive on case-insensitive systems.
+
+    Note: wildcards must be quoted from the shell on Unix.
+
+    examples:
+        bzr ignore ./Makefile
+        bzr ignore '*.class'
+    """
     takes_args = ['name_pattern']
     
     def run(self, name_pattern):



More information about the Pkg-bazaar-commits mailing list