# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1376252459 -7200 # Node ID ca36d5915dc7ce9c04b3df22df8ff6caf828a7f4 # Parent 8087267d0805bac254b68669644b4752067ad562 test_util: include Subversion revision when drawing a pretty graph diff --git a/tests/test_fetch_command.py b/tests/test_fetch_command.py --- a/tests/test_fetch_command.py +++ b/tests/test_fetch_command.py @@ -214,25 +214,25 @@ class TestStupidPull(test_util.TestBase) repo = self._load_fixture_and_fetch('revert.svndump') graph = self.getgraph(repo) refgraph = """\ -o changeset: 3:937dcd1206d4 +o changeset: 3:937dcd1206d4 (r4) | branch: | tags: tip | summary: revert2 | files: a dir/b | -o changeset: 2:9317a748b7c3 +o changeset: 2:9317a748b7c3 (r3) | branch: | tags: | summary: revert | files: a dir/b | -o changeset: 1:243259a4138a +o changeset: 1:243259a4138a (r2) | branch: | tags: | summary: changefiles | files: a dir/b | -o changeset: 0:ab86791fc857 +o changeset: 0:ab86791fc857 (r1) branch: tags: summary: init @@ -246,7 +246,7 @@ o changeset: 0:ab86791fc857 subdir='sub1/sub2') graph = self.getgraph(repo) refgraph = """\ -o changeset: 0:02996a5980ba +o changeset: 0:02996a5980ba (r3) branch: tags: tip summary: move to trunk diff --git a/tests/test_util.py b/tests/test_util.py --- a/tests/test_util.py +++ b/tests/test_util.py @@ -647,7 +647,7 @@ class TestBase(unittest.TestCase): extensions.loadall(_ui) graphlog = extensions.find('graphlog') templ = """\ -changeset: {rev}:{node|short} +changeset: {rev}:{node|short} (r{svnrev}) branch: {branches} tags: {tags} summary: {desc|firstline}