##// END OF EJS Templates
localrepo: improve vfs documentation...
Ryan McElroy -
r31536:48b9c9ca default
parent child Browse files
Show More
@@ -260,11 +260,13 b' class localrepository(object):'
260
260
261 def __init__(self, baseui, path, create=False):
261 def __init__(self, baseui, path, create=False):
262 self.requirements = set()
262 self.requirements = set()
263 # vfs to access the working copy
263 # wvfs: rooted at the repository root, used to access the working copy
264 self.wvfs = vfsmod.vfs(path, expandpath=True, realpath=True)
264 self.wvfs = vfsmod.vfs(path, expandpath=True, realpath=True)
265 # vfs to access the content of the repository
265 # vfs: rooted at .hg, used to access repo files outside of .hg/store
266 self.vfs = None
266 self.vfs = None
267 # vfs to access the store part of the repository
267 # svfs: usually rooted at .hg/store, used to access repository history
268 # If this is a shared repository, this vfs may point to another
269 # repository's .hg/store directory.
268 self.svfs = None
270 self.svfs = None
269 self.root = self.wvfs.base
271 self.root = self.wvfs.base
270 self.path = self.wvfs.join(".hg")
272 self.path = self.wvfs.join(".hg")
General Comments 0
You need to be logged in to leave comments. Login now