Show More
@@ -42,7 +42,9 b' class localrepository(repo.repository):' | |||
|
42 | 42 | self.origroot = path |
|
43 | 43 | self.auditor = scmutil.pathauditor(self.root, self._checknested) |
|
44 | 44 | self.opener = scmutil.opener(self.path) |
|
45 | self.vfs = self.opener | |
|
45 | 46 | self.wopener = scmutil.opener(self.root) |
|
47 | self.wvfs = self.wopener | |
|
46 | 48 | self.baseui = baseui |
|
47 | 49 | self.ui = baseui.copy() |
|
48 | 50 | # A list of callback to shape the phase if no data were found. |
@@ -104,6 +106,7 b' class localrepository(repo.repository):' | |||
|
104 | 106 | self.store = store.store(requirements, self.sharedpath, scmutil.opener) |
|
105 | 107 | self.spath = self.store.path |
|
106 | 108 | self.sopener = self.store.opener |
|
109 | self.svfs = self.sopener | |
|
107 | 110 | self.sjoin = self.store.join |
|
108 | 111 | self.opener.createmode = self.store.createmode |
|
109 | 112 | self._applyrequirements(requirements) |
@@ -87,6 +87,7 b' class statichttprepository(localrepo.loc' | |||
|
87 | 87 | |
|
88 | 88 | opener = build_opener(ui, authinfo) |
|
89 | 89 | self.opener = opener(self.path) |
|
90 | self.vfs = self.opener | |
|
90 | 91 | self._phasedefaults = [] |
|
91 | 92 | |
|
92 | 93 | try: |
@@ -112,6 +113,7 b' class statichttprepository(localrepo.loc' | |||
|
112 | 113 | self.store = store.store(requirements, self.path, opener) |
|
113 | 114 | self.spath = self.store.path |
|
114 | 115 | self.sopener = self.store.opener |
|
116 | self.svfs = self.sopener | |
|
115 | 117 | self.sjoin = self.store.join |
|
116 | 118 | self._filecache = {} |
|
117 | 119 |
General Comments 0
You need to be logged in to leave comments.
Login now