Rev 3260: (dato) Add documentation for interesting RE: ignores. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Mon Mar 10 20:24:50 GMT 2008


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 3260
revision-id:pqm at pqm.ubuntu.com-20080310202441-q09492ma24sdzp51
parent: pqm at pqm.ubuntu.com-20080310171308-z1cyxt7lfct91yes
parent: dato at net.com.org.es-20080309221759-5xjen9cea943jkaw
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2008-03-10 20:24:41 +0000
message:
  (dato) Add documentation for interesting RE: ignores.
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
    ------------------------------------------------------------
    revno: 3257.1.1
    revision-id:dato at net.com.org.es-20080309221759-5xjen9cea943jkaw
    parent: pqm at pqm.ubuntu.com-20080308231040-by6td3eegfa0s21i
    committer: Adeodato Simó <dato at net.com.org.es>
    branch nick: bzrignore-example
    timestamp: Sun 2008-03-09 23:17:59 +0100
    message:
      Add an example of some bzrignore cool stuff with Python regexes.
    modified:
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2008-03-07 21:35:38 +0000
+++ b/bzrlib/builtins.py	2008-03-09 22:17:59 +0000
@@ -1940,6 +1940,10 @@
         Ignore .o files under the lib directory::
 
             bzr ignore "RE:lib/.*\.o"
+
+        Ignore everything but the "debian" toplevel directory::
+
+            bzr ignore "RE:(?!debian/).*"
     """
 
     _see_also = ['status', 'ignored']




More information about the bazaar-commits mailing list