mercurial/localrepo.py
changeset 2740 386f04d6ecb3
parent 2673 109a22f5434a
child 2775 b550cd82f92a
child 2789 e3564699409c
--- a/mercurial/localrepo.py	Sun Jul 30 22:52:34 2006 -0700
+++ b/mercurial/localrepo.py	Mon Jul 31 07:11:12 2006 -0700
@@ -2271,3 +2271,8 @@
                     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