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

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:19:14 UTC 2009


------------------------------------------------------------
revno: 529
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-17 18:07:48 +1000
message:
  todo
modified:
  bzrlib/branch.py
-------------- next part --------------
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2005-05-17 07:52:16 +0000
+++ b/bzrlib/branch.py	2005-05-17 08:07:48 +0000
@@ -573,6 +573,8 @@
 
         `revision_id` may be None for the null revision, in which case
         an `EmptyTree` is returned."""
+        # TODO: refactor this to use an existing revision object
+        # so we don't need to read it in twice.
         self._need_readlock()
         if revision_id == None:
             return EmptyTree()



More information about the Pkg-bazaar-commits mailing list