aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/base.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-27 16:50:34 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-27 16:50:34 -0500
commit9b42ab6d3e2372c2c0f26a0788f8b84d1d346171 (patch)
tree0c994cbcfdeb648736922d1cb6e3448b4eac86f6 /libbe/storage/base.py
parent9ad4b1cadfd0adf3fd359c274856a196019e913c (diff)
downloadbugseverywhere-9b42ab6d3e2372c2c0f26a0788f8b84d1d346171.tar.gz
Implement Arch._vcs_path()
Fixes VersionedStorage_commit_TestCase.test_get_previous_children. Should have fixed VersionedStorage_commit_TestCase.test_get_previous_version too, but 'tla file-find' is buggy: https://bugs.launchpad.net/ubuntu/+source/tla/+bug/513472 Also: * sort children in test_get_previous_children, since we shouldn't require a particular child order * unescape filenames in Arch._diff() * remove debugging prints from Arch._parse_diff() * remove silly blank line in git.py I'd stumbled across ;).
Diffstat (limited to 'libbe/storage/base.py')
-rw-r--r--libbe/storage/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/base.py b/libbe/storage/base.py
index ade6587..ad6b291 100644
--- a/libbe/storage/base.py
+++ b/libbe/storage/base.py
@@ -994,7 +994,7 @@ if TESTING == True:
cur_children.append(new_child)
children.append(list(cur_children))
for i in range(10):
- ret = self.s.children('parent', revision=revs[i])
+ ret = sorted(self.s.children('parent', revision=revs[i]))
self.failUnless(ret == children[i],
"%s.get() returned %s not %s for revision %s"
% (vars(self.Class)['name'], ret,