Commits

Sean Farley  committed 7a4d852

wrappers: remove pre-1.9 code from hgclonewrapper

  • Participants
  • Parent commits 8a734c3

Comments (0)

Files changed (1)

File hgsubversion/wrappers.py

 
     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),