comparison tests/test_fetch_mappings.py @ 916:7e9d805a0e1f

tests: fix regressions introduced by peer classes in hg 2.3
author Bryan O'Sullivan <bryano@fb.com>
date Thu, 19 Jul 2012 16:01:17 -0700
parents 7f90bb48c9de
children 5bacb9c63e3e
comparison
equal deleted inserted replaced
915:d6c47c33f6a2 916:7e9d805a0e1f
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)()
249 dest = getattr(dest, 'local', lambda: dest)()
248 svncommands.rebuildmeta(ui, dest, 250 svncommands.rebuildmeta(ui, dest,
249 args=[test_util.fileurl(repo_path)]) 251 args=[test_util.fileurl(repo_path)])
250 252
251 # 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
252 # map and thus properly tested by other tests 254 # map and thus properly tested by other tests