equal
deleted
inserted
replaced
258 self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True) |
258 self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True) |
259 # vfs to access the content of the repository |
259 # vfs to access the content of the repository |
260 self.vfs = None |
260 self.vfs = None |
261 # vfs to access the store part of the repository |
261 # vfs to access the store part of the repository |
262 self.svfs = None |
262 self.svfs = None |
263 self.wopener = self.wvfs |
|
264 self.root = self.wvfs.base |
263 self.root = self.wvfs.base |
265 self.path = self.wvfs.join(".hg") |
264 self.path = self.wvfs.join(".hg") |
266 self.origroot = path |
265 self.origroot = path |
267 self.auditor = pathutil.pathauditor(self.root, self._checknested) |
266 self.auditor = pathutil.pathauditor(self.root, self._checknested) |
268 self.nofsauditor = pathutil.pathauditor(self.root, self._checknested, |
267 self.nofsauditor = pathutil.pathauditor(self.root, self._checknested, |
377 # - bookmark changes |
376 # - bookmark changes |
378 self.filteredrevcache = {} |
377 self.filteredrevcache = {} |
379 |
378 |
380 # generic mapping between names and nodes |
379 # generic mapping between names and nodes |
381 self.names = namespaces.namespaces() |
380 self.names = namespaces.namespaces() |
|
381 |
|
382 @property |
|
383 def wopener(self): |
|
384 self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wopener'", '4.2') |
|
385 return self.wvfs |
382 |
386 |
383 def close(self): |
387 def close(self): |
384 self._writecaches() |
388 self._writecaches() |
385 |
389 |
386 def _loadextensions(self): |
390 def _loadextensions(self): |