Show More
@@ -153,7 +153,7 b' class localrepository(object):' | |||
|
153 | 153 | return self.requirements[:] |
|
154 | 154 | |
|
155 | 155 | def __init__(self, baseui, path=None, create=False): |
|
156 | self.wvfs = scmutil.vfs(path, expand=True) | |
|
156 | self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True) | |
|
157 | 157 | self.wopener = self.wvfs |
|
158 | 158 | self.root = self.wvfs.base |
|
159 | 159 | self.path = self.wvfs.join(".hg") |
@@ -263,9 +263,11 b' class vfs(abstractvfs):' | |||
|
263 | 263 | This class is used to hide the details of COW semantics and |
|
264 | 264 | remote file access from higher level code. |
|
265 | 265 | ''' |
|
266 | def __init__(self, base, audit=True, expand=False): | |
|
267 | if expand: | |
|
268 |
base = |
|
|
266 | def __init__(self, base, audit=True, expandpath=False, realpath=False): | |
|
267 | if expandpath: | |
|
268 | base = util.expandpath(base) | |
|
269 | if realpath: | |
|
270 | base = os.path.realpath(base) | |
|
269 | 271 | self.base = base |
|
270 | 272 | self._setmustaudit(audit) |
|
271 | 273 | self.createmode = None |
General Comments 0
You need to be logged in to leave comments.
Login now