Rev 3517: Comment update in http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/lazy_revno

John Arbash Meinel john at arbash-meinel.com
Wed Aug 6 19:21:42 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/lazy_revno

------------------------------------------------------------
revno: 3517
revision-id: john at arbash-meinel.com-20080806182124-kpoz5s5os608bbgx
parent: john at arbash-meinel.com-20080806181613-jf965wcz4u912oiv
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: lazy_revno
timestamp: Wed 2008-08-06 13:21:24 -0500
message:
  Comment update
-------------- next part --------------
=== modified file 'bzrlib/graph.py'
--- a/bzrlib/graph.py	2008-08-06 18:16:13 +0000
+++ b/bzrlib/graph.py	2008-08-06 18:21:24 +0000
@@ -1577,8 +1577,10 @@
             # To find ghosts, you have to start from its children and walk
             # backwards, but we don't know where to look, so we would have to
             # iterate the whole graph. And the numbering code doesn't like it
-            # much anyway. (We could cheat and use NULL_REVISION, which is what
-            # happens when you merge in another project.)
+            # much anyway. We could cheat and use NULL_REVISION, which is what
+            # # happens when you merge in another project. Care would need to
+            # be taken, because you don't want to change the node, but its
+            # leftmost ancestor.
             # Anyway, because we have to search a lot, for now we just punt,
             # load the whole graph, and do a regular 'merge_sort' on the whole
             # thing. Note that this is *very* inefficient when we already have



More information about the bazaar-commits mailing list