# HG changeset patch # User Sean Farley # Date 1378416121 18000 # Node ID 7a4d8525737acca7db0beba6dfd17fdecd3b6bfe # Parent 8a734c3e9b8d9c049343a3643f192b915fd89f8a wrappers: remove pre-1.9 code from hgclonewrapper diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -563,11 +563,7 @@ def clone(orig, ui, source, dest=None, * data = {} def hgclonewrapper(orig, ui, *args, **opts): - if getattr(hg, 'peer', None): - # Since 1.9 (d976542986d2) - origsource = args[1] - else: - origsource = args[0] + origsource = args[1] if isinstance(origsource, str): source, branch, checkout = util.parseurl(ui.expandpath(origsource),