[Pkg-bazaar-commits] ./bzr/unstable r481: - selected-file match also applies when listing unknown files

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:18:52 UTC 2009


------------------------------------------------------------
revno: 481
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Wed 2005-05-11 18:06:44 +1000
message:
  - selected-file match also applies when listing unknown files
modified:
  bzrlib/status.py
-------------- next part --------------
=== modified file 'bzrlib/status.py'
--- a/bzrlib/status.py	2005-05-11 08:01:27 +0000
+++ b/bzrlib/status.py	2005-05-11 08:06:44 +0000
@@ -44,6 +44,11 @@
     unknowns = new.unknowns()
     done_header = False
     for path in unknowns:
+        # FIXME: Should also match if the unknown file is within a
+        # specified directory.
+        if file_list:
+            if path not in file_list:
+                continue
         if not done_header:
             print 'unknown:'
             done_header = True



More information about the Pkg-bazaar-commits mailing list