Mercurial > hgsubversion
comparison tests/test_fetch_mappings.py @ 930:5bacb9c63e3e
Fix more peer breakage with old hg versions
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Mon, 10 Sep 2012 22:42:49 +0200 |
parents | 7e9d805a0e1f |
children | 1f77bd6ec0e5 |
comparison
equal
deleted
inserted
replaced
929:8417be758047 | 930:5bacb9c63e3e |
---|---|
243 | 243 |
244 # clone & rebuild | 244 # clone & rebuild |
245 ui = self.ui(stupid) | 245 ui = self.ui(stupid) |
246 src, dest = test_util.hgclone(ui, self.wc_path, self.wc_path + '_clone', | 246 src, dest = test_util.hgclone(ui, self.wc_path, self.wc_path + '_clone', |
247 update=False) | 247 update=False) |
248 src = getattr(src, 'local', lambda: src)() | 248 src = test_util.getlocalpeer(src) |
249 dest = getattr(dest, 'local', lambda: dest)() | 249 dest = test_util.getlocalpeer(dest) |
250 svncommands.rebuildmeta(ui, dest, | 250 svncommands.rebuildmeta(ui, dest, |
251 args=[test_util.fileurl(repo_path)]) | 251 args=[test_util.fileurl(repo_path)]) |
252 | 252 |
253 # just check the keys; assume the contents are unaffected by the branch | 253 # just check the keys; assume the contents are unaffected by the branch |
254 # map and thus properly tested by other tests | 254 # map and thus properly tested by other tests |