Mercurial > hgsubversion
diff tests/test_util.py @ 893:295a8b48e4e2
Merge
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 12 May 2012 10:07:29 -0500 |
parents | 78db88de9622 |
children | 04dfc23688b9 |
line wrap: on
line diff
--- a/tests/test_util.py +++ b/tests/test_util.py @@ -199,12 +199,12 @@ def _verify_our_modules(): 'from the wrong path!' ) -def hgclone(ui, source, dest, update=True): +def hgclone(ui, source, dest, update=True, rev=None): if getattr(hg, 'peer', None): # Since 1.9 (d976542986d2) - src, dest = hg.clone(ui, {}, source, dest, update=update) + src, dest = hg.clone(ui, {}, source, dest, update=update, rev=rev) else: - src, dest = hg.clone(ui, source, dest, update=update) + src, dest = hg.clone(ui, source, dest, update=update, rev=rev) return src, dest def svnls(repo_path, path, rev='HEAD'):