comparison tests/test_fetch_mappings.py @ 816:86d124a8768e

Fix hg.clone() calls changed by d976542986d2
author Patrick Mezard <pmezard@gmail.com>
date Wed, 15 Jun 2011 14:44:14 +0200
parents 4dfc41b15d9a
children 033b86e0f56d
comparison
equal deleted inserted replaced
815:e62e84a9464b 816:86d124a8768e
218 self.wc_path, branchmap=self.branchmap) 218 self.wc_path, branchmap=self.branchmap)
219 originfo = self.repo.svnmeta().branches 219 originfo = self.repo.svnmeta().branches
220 220
221 # clone & rebuild 221 # clone & rebuild
222 ui = self.ui(stupid) 222 ui = self.ui(stupid)
223 src, dest = hg.clone(ui, self.wc_path, self.wc_path + '_clone', 223 src, dest = test_util.hgclone(ui, self.wc_path, self.wc_path + '_clone',
224 update=False) 224 update=False)
225 svncommands.rebuildmeta(ui, dest, 225 svncommands.rebuildmeta(ui, dest,
226 args=[test_util.fileurl(self.repo_path)]) 226 args=[test_util.fileurl(self.repo_path)])
227 227
228 # just check the keys; assume the contents are unaffected by the branch 228 # just check the keys; assume the contents are unaffected by the branch
229 # map and thus properly tested by other tests 229 # map and thus properly tested by other tests