Rev 57: As expected, stepping back to page in the branch root info works. in http://bzr.arbash-meinel.com/plugins/history_db

John Arbash Meinel john at arbash-meinel.com
Wed Apr 7 19:43:44 BST 2010


At http://bzr.arbash-meinel.com/plugins/history_db

------------------------------------------------------------
revno: 57
revision-id: john at arbash-meinel.com-20100407184329-8b2yzr0hpzn3p2xm
parent: john at arbash-meinel.com-20100407184213-xdxq5toqyk4ri4cq
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: history_db
timestamp: Wed 2010-04-07 13:43:29 -0500
message:
  As expected, stepping back to page in the branch root info works.
-------------- next part --------------
=== modified file 'history_db.py'
--- a/history_db.py	2010-04-07 18:42:13 +0000
+++ b/history_db.py	2010-04-07 18:43:29 +0000
@@ -816,10 +816,9 @@
             else:
                 # we need a new branch number. To get this correct, we have to
                 # make sure that the beginning of this branch has been loaded
-                ## XXX:
-                ## branch_root = parent_revno[:2] + (1,)
-                ## while branch_root not in self._dotted_to_db_id:
-                ##     self._step_mainline()
+                branch_root = parent_revno[:2] + (1,)
+                while branch_root not in self._dotted_to_db_id:
+                    self._step_mainline()
                 base_revno = parent_revno[0]
                 branch_count = (
                     self._revno_to_branch_count.get(base_revno, 0) + 1)



More information about the bazaar-commits mailing list