##// END OF EJS Templates
localrepo: add some comment about role of various vfs object...
Pierre-Yves David -
r31144:afcc4b4a default
parent child Browse files
Show More
@@ -254,7 +254,12 b' class localrepository(object):'
254
254
255 def __init__(self, baseui, path, create=False):
255 def __init__(self, baseui, path, create=False):
256 self.requirements = set()
256 self.requirements = set()
257 # vfs to access the working copy
257 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
260 self.vfs = None
261 # vfs to access the store part of the repository
262 self.svfs = None
258 self.wopener = self.wvfs
263 self.wopener = self.wvfs
259 self.root = self.wvfs.base
264 self.root = self.wvfs.base
260 self.path = self.wvfs.join(".hg")
265 self.path = self.wvfs.join(".hg")
General Comments 0
You need to be logged in to leave comments. Login now