mercurial/localrepo.py
changeset 2740 386f04d6ecb3
parent 2673 109a22f5434a
child 2784 e3564699409c
child 2799 b550cd82f92a
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -2271,3 +2271,8 @@ def aftertrans(base):
                     os.path.join(p, "undo.dirstate"))
     return a
 
+def instance(ui, path, create):
+    return localrepository(ui, util.drop_scheme('file', path), create)
+    
+def islocal(path):
+    return True