Show More
@@ -365,6 +365,11 b' class bundlerepository(object):' | |||||
365 | self.manstart = self._cgunpacker.tell() |
|
365 | self.manstart = self._cgunpacker.tell() | |
366 | return c |
|
366 | return c | |
367 |
|
367 | |||
|
368 | def _refreshchangelog(self): | |||
|
369 | # changelog for bundle repo are not filecache, this method is not | |||
|
370 | # applicable. | |||
|
371 | pass | |||
|
372 | ||||
368 | @localrepo.unfilteredpropertycache |
|
373 | @localrepo.unfilteredpropertycache | |
369 | def manifestlog(self): |
|
374 | def manifestlog(self): | |
370 | self._cgunpacker.seek(self.manstart) |
|
375 | self._cgunpacker.seek(self.manstart) |
@@ -1224,6 +1224,11 b' class localrepository(object):' | |||||
1224 | def _bookmarks(self): |
|
1224 | def _bookmarks(self): | |
1225 | return bookmarks.bmstore(self) |
|
1225 | return bookmarks.bmstore(self) | |
1226 |
|
1226 | |||
|
1227 | def _refreshchangelog(self): | |||
|
1228 | """make sure the in memory changelog match the on-disk one""" | |||
|
1229 | if ('changelog' in vars(self) and self.currenttransaction() is None): | |||
|
1230 | del self.changelog | |||
|
1231 | ||||
1227 | @property |
|
1232 | @property | |
1228 | def _activebookmark(self): |
|
1233 | def _activebookmark(self): | |
1229 | return self._bookmarks.active |
|
1234 | return self._bookmarks.active |
General Comments 0
You need to be logged in to leave comments.
Login now