diff mercurial/localrepo.py @ 14825:de9eb6b1da4f stable 1.9

util: rename the util.localpath that uses url to urllocalpath (issue2875) util is never imported by any other name than util, so this is mostly just a simple search and replace from util.localpath to util.urllocalpath (assuming other uses of util.localpath already has been renamed).
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 01 Jul 2011 17:37:09 +0200
parents fdcf6f09b68d
children f73c7b70df68
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Jul 01 18:13:48 2011 +0200
+++ b/mercurial/localrepo.py	Fri Jul 01 17:37:09 2011 +0200
@@ -1985,7 +1985,7 @@
     return os.path.join(base, name.replace('journal', 'undo', 1))
 
 def instance(ui, path, create):
-    return localrepository(ui, util.localpath(path), create)
+    return localrepository(ui, util.urllocalpath(path), create)
 
 def islocal(path):
     return True