##// END OF EJS Templates
localrepo: use "vfs" constructor instead of "opener" one...
FUJIWARA Katsunori -
r17650:bf2eb3a1 default
parent child Browse files
Show More
@@ -117,14 +117,14 b' class localrepository(object):'
117 return self.requirements[:]
117 return self.requirements[:]
118
118
119 def __init__(self, baseui, path=None, create=False):
119 def __init__(self, baseui, path=None, create=False):
120 self.wopener = scmutil.opener(path, expand=True)
120 self.wvfs = scmutil.vfs(path, expand=True)
121 self.wvfs = self.wopener
121 self.wopener = self.wvfs
122 self.root = self.wvfs.base
122 self.root = self.wvfs.base
123 self.path = self.wvfs.join(".hg")
123 self.path = self.wvfs.join(".hg")
124 self.origroot = path
124 self.origroot = path
125 self.auditor = scmutil.pathauditor(self.root, self._checknested)
125 self.auditor = scmutil.pathauditor(self.root, self._checknested)
126 self.opener = scmutil.opener(self.path)
126 self.vfs = scmutil.vfs(self.path)
127 self.vfs = self.opener
127 self.opener = self.vfs
128 self.baseui = baseui
128 self.baseui = baseui
129 self.ui = baseui.copy()
129 self.ui = baseui.copy()
130 # A list of callback to shape the phase if no data were found.
130 # A list of callback to shape the phase if no data were found.
General Comments 0
You need to be logged in to leave comments. Login now