Show More
@@ -267,7 +267,6 b' class localrepository(object):' | |||
|
267 | 267 | self.nofsauditor = pathutil.pathauditor(self.root, self._checknested, |
|
268 | 268 | realfs=False) |
|
269 | 269 | self.vfs = scmutil.vfs(self.path) |
|
270 | self.opener = self.vfs | |
|
271 | 270 | self.baseui = baseui |
|
272 | 271 | self.ui = baseui.copy() |
|
273 | 272 | self.ui.copy = baseui.copy # prevent copying repo configuration |
@@ -384,6 +383,11 b' class localrepository(object):' | |||
|
384 | 383 | self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wopener'", '4.2') |
|
385 | 384 | return self.wvfs |
|
386 | 385 | |
|
386 | @property | |
|
387 | def opener(self): | |
|
388 | self.ui.deprecwarn("use 'repo.vfs' instead of 'repo.opener'", '4.2') | |
|
389 | return self.vfs | |
|
390 | ||
|
387 | 391 | def close(self): |
|
388 | 392 | self._writecaches() |
|
389 | 393 |
General Comments 0
You need to be logged in to leave comments.
Login now