diff -r a9c443b3b240 -r e75b72fffdfe mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Jan 18 15:54:09 2013 +0100 +++ b/mercurial/localrepo.py Mon Apr 15 01:22:15 2013 +0900 @@ -153,7 +153,7 @@ return self.requirements[:] def __init__(self, baseui, path=None, create=False): - self.wvfs = scmutil.vfs(path, expand=True) + self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True) self.wopener = self.wvfs self.root = self.wvfs.base self.path = self.wvfs.join(".hg")