[Pkg-bazaar-commits] ./bzr/unstable r147: todo

mbp at sourcefrog.net mbp at sourcefrog.net
Fri Apr 10 07:51:14 UTC 2009


------------------------------------------------------------
revno: 147
committer: mbp at sourcefrog.net
timestamp: Tue 2005-03-29 18:03:40 +1000
message:
  todo
modified:
  bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py	2005-03-29 07:29:29 +0000
+++ b/bzrlib/commands.py	2005-03-29 08:03:40 +0000
@@ -348,6 +348,11 @@
     old = b.basis_tree()
     new = b.working_tree()
 
+    ## TODO: Much more efficient way to do this: read in new
+    ## directories with readdir, rather than stating each one.  Same
+    ## level of effort but possibly much less IO.  (Or possibly not,
+    ## if the directories are very large...)
+
     for path, ie in old.inventory.iter_entries():
         if not new.has_id(ie.file_id):
             if show_ids:



More information about the Pkg-bazaar-commits mailing list