Rev 2657: All GraphKnit based repository tests passing. in http://people.ubuntu.com/~robertc/baz2.0/repository
Robert Collins
robertc at robertcollins.net
Sun Jul 15 09:46:09 BST 2007
At http://people.ubuntu.com/~robertc/baz2.0/repository
------------------------------------------------------------
revno: 2657
revision-id: robertc at robertcollins.net-20070715084605-jgwqobnbo0i4i4rd
parent: robertc at robertcollins.net-20070715083005-naa3a3i0am1xtj1e
committer: Robert Collins <robertc at robertcollins.net>
branch nick: repository
timestamp: Sun 2007-07-15 18:46:05 +1000
message:
All GraphKnit based repository tests passing.
modified:
bzrlib/deprecated_graph.py graph.py-20050905070950-b47dce53236c5e48
=== modified file 'bzrlib/deprecated_graph.py'
--- a/bzrlib/deprecated_graph.py 2007-06-21 02:33:43 +0000
+++ b/bzrlib/deprecated_graph.py 2007-07-15 08:46:05 +0000
@@ -125,7 +125,7 @@
def add_node(self, node_id, parent_ids):
"""Add node_id to the graph with parent_ids as its parents."""
- if parent_ids == []:
+ if len(parent_ids) == 0:
self.roots.add(node_id)
self._graph_ancestors[node_id] = list(parent_ids)
self._ensure_descendant(node_id)
More information about the bazaar-commits
mailing list