diff mercurial/localrepo.py @ 11156:b203a95fe68b

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Tue, 11 May 2010 17:03:44 -0500
parents 9936ed1d04f4 17031fea4e95
children ba78a1bfbfd9
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue May 11 16:28:09 2010 -0500
+++ b/mercurial/localrepo.py	Tue May 11 17:03:44 2010 -0500
@@ -25,7 +25,7 @@
 
     def __init__(self, baseui, path=None, create=0):
         repo.repository.__init__(self)
-        self.root = os.path.realpath(path)
+        self.root = os.path.realpath(util.expandpath(path))
         self.path = os.path.join(self.root, ".hg")
         self.origroot = path
         self.opener = util.opener(self.path)