Rev 2681: Add ancestry graph for test case in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Tue Aug 7 23:52:33 BST 2007
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 2681
revision-id: pqm at pqm.ubuntu.com-20070807225230-7gb6fot3mnsxp7zs
parent: pqm at pqm.ubuntu.com-20070807214342-ti2fzm7m9br66daj
parent: abentley at panoramicfeedback.com-20070807204547-b4mxyy3t3kokgkkw
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2007-08-07 23:52:30 +0100
message:
Add ancestry graph for test case
modified:
bzrlib/tests/test_graph.py test_graph_walker.py-20070525030405-enq4r60hhi9xrujc-1
------------------------------------------------------------
revno: 1551.2.49.1.40.1.22.1.42.1.31.1.39.1.17.1.84
merged: abentley at panoramicfeedback.com-20070807204547-b4mxyy3t3kokgkkw
parent: abentley at panoramicfeedback.com-20070807203614-nz9lwqenyyjfd3yc
committer: Aaron Bentley <abentley at panoramicfeedback.com>
branch nick: Aaron's integration
timestamp: Tue 2007-08-07 16:45:47 -0400
message:
Add ancestry graph for test case
=== modified file 'bzrlib/tests/test_graph.py'
--- a/bzrlib/tests/test_graph.py 2007-08-07 20:36:14 +0000
+++ b/bzrlib/tests/test_graph.py 2007-08-07 20:45:47 +0000
@@ -363,6 +363,14 @@
"""
# This test is sensitive to the iteration order of dicts. It will
# pass incorrectly if 'e' and 'a' sort before 'c'
+ #
+ # NULL_REVISION
+ # / \
+ # a e
+ # | |
+ # b d
+ # \ /
+ # c
graph = self.make_graph({'c': ['b', 'd'], 'd': ['e'], 'b': ['a'],
'a': [NULL_REVISION], 'e': [NULL_REVISION]})
self.assertEqual(['c'], graph._filter_candidate_lca(['a', 'c', 'e']))
More information about the bazaar-commits
mailing list