##// END OF EJS Templates
bookmarks: use correct store for "ambiguity check"...
Martin von Zweigbergk -
r42613:d532292e stable
parent child Browse files
Show More
@@ -133,10 +133,10 b' class mixedrepostorecache(_basefilecache'
133
133
134 def join(self, obj, fnameandlocation):
134 def join(self, obj, fnameandlocation):
135 fname, location = fnameandlocation
135 fname, location = fnameandlocation
136 if location == '':
136 if location == 'plain':
137 return obj.vfs.join(fname)
137 return obj.vfs.join(fname)
138 else:
138 else:
139 if location != 'store':
139 if location != '':
140 raise error.ProgrammingError('unexpected location: %s' %
140 raise error.ProgrammingError('unexpected location: %s' %
141 location)
141 location)
142 return obj.sjoin(fname)
142 return obj.sjoin(fname)
@@ -1219,8 +1219,8 b' class localrepository(object):'
1219 cls = repoview.newtype(self.unfiltered().__class__)
1219 cls = repoview.newtype(self.unfiltered().__class__)
1220 return cls(self, name, visibilityexceptions)
1220 return cls(self, name, visibilityexceptions)
1221
1221
1222 @mixedrepostorecache(('bookmarks', ''), ('bookmarks.current', ''),
1222 @mixedrepostorecache(('bookmarks', 'plain'), ('bookmarks.current', 'plain'),
1223 ('00changelog.i', 'store'))
1223 ('00changelog.i', ''))
1224 def _bookmarks(self):
1224 def _bookmarks(self):
1225 return bookmarks.bmstore(self)
1225 return bookmarks.bmstore(self)
1226
1226
General Comments 0
You need to be logged in to leave comments. Login now