mercurial/extensions.py
changeset 9610 d78fe60f6bda
parent 9410 1c83938b6a8e
child 9660 e0eae93e6c67
--- a/mercurial/extensions.py	Sat Oct 17 15:40:34 2009 +0200
+++ b/mercurial/extensions.py	Mon Oct 19 22:19:28 2009 +0300
@@ -30,7 +30,7 @@
 
 def loadpath(path, module_name):
     module_name = module_name.replace('.', '_')
-    path = os.path.expanduser(path)
+    path = util.expandpath(path)
     if os.path.isdir(path):
         # module/__init__.py style
         d, f = os.path.split(path.rstrip('/'))