Rev 66: bzrtools passes with assertions. in http://bzr.arbash-meinel.com/plugins/history_db
John Arbash Meinel
john at arbash-meinel.com
Thu Apr 8 18:24:46 BST 2010
At http://bzr.arbash-meinel.com/plugins/history_db
------------------------------------------------------------
revno: 66
revision-id: john at arbash-meinel.com-20100408172436-4jatcmchux8q08bi
parent: john at arbash-meinel.com-20100408172215-admeiar0gq235wu1
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: history_db
timestamp: Thu 2010-04-08 12:24:36 -0500
message:
bzrtools passes with assertions.
It seems to be a fair amount slower for bzrtools than just using KG.merge_sort
(even after disabling the call for assertions).
Now is a reasonable time to start trying more profiling, stats gathering, etc.
-------------- next part --------------
=== modified file 'history_db.py'
--- a/history_db.py 2010-04-08 17:22:15 +0000
+++ b/history_db.py 2010-04-08 17:24:36 +0000
@@ -189,7 +189,6 @@
actual_ms = self._graph.merge_sort((tip_revision_id,))
actual_ms_iter = iter(actual_ms)
for node in merge_sorted:
-
node.key = (db_id_to_rev_id[node.key],)
actual_node = actual_ms_iter.next()
assert node.key == actual_node.key
More information about the bazaar-commits
mailing list