##// 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 134 def join(self, obj, fnameandlocation):
135 135 fname, location = fnameandlocation
136 if location == '':
136 if location == 'plain':
137 137 return obj.vfs.join(fname)
138 138 else:
139 if location != 'store':
139 if location != '':
140 140 raise error.ProgrammingError('unexpected location: %s' %
141 141 location)
142 142 return obj.sjoin(fname)
@@ -1219,8 +1219,8 b' class localrepository(object):'
1219 1219 cls = repoview.newtype(self.unfiltered().__class__)
1220 1220 return cls(self, name, visibilityexceptions)
1221 1221
1222 @mixedrepostorecache(('bookmarks', ''), ('bookmarks.current', ''),
1223 ('00changelog.i', 'store'))
1222 @mixedrepostorecache(('bookmarks', 'plain'), ('bookmarks.current', 'plain'),
1223 ('00changelog.i', ''))
1224 1224 def _bookmarks(self):
1225 1225 return bookmarks.bmstore(self)
1226 1226
General Comments 0
You need to be logged in to leave comments. Login now