hgext/convert/p4.py
changeset 35176 671aba341d90
parent 35036 281214150561
child 36607 c6061cadb400
--- a/hgext/convert/p4.py	Wed Nov 15 23:43:15 2017 -0500
+++ b/hgext/convert/p4.py	Wed Nov 22 20:49:01 2017 -0500
@@ -43,11 +43,11 @@
     return filename
 
 class p4_source(common.converter_source):
-    def __init__(self, ui, path, revs=None):
+    def __init__(self, ui, repotype, path, revs=None):
         # avoid import cycle
         from . import convcmd
 
-        super(p4_source, self).__init__(ui, path, revs=revs)
+        super(p4_source, self).__init__(ui, repotype, path, revs=revs)
 
         if "/" in path and not path.startswith('//'):
             raise common.NoRepo(_('%s does not look like a P4 repository') %