Rev 4651: Go back to sorted parents mode. in http://bazaar.launchpad.net/~jameinel/bzr/2.0b1-stable-groupcompress-order

John Arbash Meinel john at arbash-meinel.com
Tue Sep 1 16:06:53 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.0b1-stable-groupcompress-order

------------------------------------------------------------
revno: 4651
revision-id: john at arbash-meinel.com-20090901150647-za59rk55lhixgeqc
parent: john at arbash-meinel.com-20090901145253-6kys58t6boxa3bfs
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.0b1-stable-groupcompress-order
timestamp: Tue 2009-09-01 10:06:47 -0500
message:
  Go back to sorted parents mode.
-------------- next part --------------
=== modified file 'bzrlib/_known_graph_pyx.pyx'
--- a/bzrlib/_known_graph_pyx.pyx	2009-09-01 14:52:53 +0000
+++ b/bzrlib/_known_graph_pyx.pyx	2009-09-01 15:06:47 +0000
@@ -517,10 +517,10 @@
                 # 45.2ms => 34.8ms for all file graphs
                 ## parents = _sort_list_nodes(node.parents, 0)
                 ## for pos from len(parents) > pos >= 0:
-                ## parents = _sort_list_nodes(node.parents, 1)
-                ## for pos from 0 <= pos < len(parents):
-                parents = node.parents
-                for pos from len(parents) > pos >= 0:
+                parents = _sort_list_nodes(node.parents, 1)
+                for pos from 0 <= pos < len(parents):
+                ## parents = node.parents
+                ## for pos from len(parents) > pos >= 0:
                     if PyTuple_CheckExact(parents):
                         parent_node = _get_tuple_node(parents, pos)
                     else:



More information about the bazaar-commits mailing list