Mercurial > hgsubversion
diff tests/comprehensive/test_stupid_pull.py @ 1346:538bbb927609
Merge with stable.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 11 Aug 2015 17:07:59 -0400 |
parents | c6b01fd34694 |
children | 89997a5fc181 |
line wrap: on
line diff
--- a/tests/comprehensive/test_stupid_pull.py +++ b/tests/comprehensive/test_stupid_pull.py @@ -19,7 +19,7 @@ from hgsubversion import wrappers def _do_case(self, name, layout): subdir = test_util.subdir.get(name, '') config = {} - u = ui.ui() + u = test_util.testui() for branch, path in test_util.custom.get(name, {}).iteritems(): config['hgsubversionbranch.%s' % branch] = path u.setconfig('hgsubversionbranch', branch, path) @@ -38,7 +38,7 @@ def _do_case(self, name, layout): test_util.hgclone(u, test_util.fileurl(checkout_path), wc2_path, update=False) if layout == 'single': self.assertEqual(len(self.repo.heads()), 1) - self.repo2 = hg.repository(ui.ui(), wc2_path) + self.repo2 = hg.repository(test_util.testui(), wc2_path) self.assertEqual(self.repo.heads(), self.repo2.heads())