Mercurial > hgsubversion
comparison tests/test_push_renames.py @ 869:db3a651494f9
test_util: pass repo_path to svnls(), turn it into a function
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Thu, 19 Apr 2012 18:29:30 +0200 |
parents | 04729f3a3d17 |
children | a279b5838aaf |
comparison
equal
deleted
inserted
replaced
868:cc1c870f1758 | 869:db3a651494f9 |
---|---|
106 ('geek/other/blah', None, None,), | 106 ('geek/other/blah', None, None,), |
107 ('geek/other/another/layer', None, None,), | 107 ('geek/other/another/layer', None, None,), |
108 ] | 108 ] |
109 self.commitchanges(changes) | 109 self.commitchanges(changes) |
110 self.pushrevisions() | 110 self.pushrevisions() |
111 # print '\n'.join(sorted(self.svnls('trunk'))) | |
112 assert reduce(lambda x, y: x and y, | 111 assert reduce(lambda x, y: x and y, |
113 ('geek' not in f for f in self.svnls('trunk'))), ( | 112 ('geek' not in f for f in test_util.svnls(self.repo_path, 'trunk'))), ( |
114 'This failure means rename of an entire tree is broken.' | 113 'This failure means rename of an entire tree is broken.' |
115 ' There is a print on the preceding line commented out ' | 114 ' There is a print on the preceding line commented out ' |
116 'that should help you.') | 115 'that should help you.') |
117 | 116 |
118 | 117 |