##// END OF EJS Templates
localrepo: introduce a `_refreshchangelog` method...
marmoute -
r42710:3472a3f9 stable
parent child Browse files
Show More
@@ -365,6 +365,11 b' class bundlerepository(object):'
365 365 self.manstart = self._cgunpacker.tell()
366 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 373 @localrepo.unfilteredpropertycache
369 374 def manifestlog(self):
370 375 self._cgunpacker.seek(self.manstart)
@@ -1224,6 +1224,11 b' class localrepository(object):'
1224 1224 def _bookmarks(self):
1225 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 1232 @property
1228 1233 def _activebookmark(self):
1229 1234 return self._bookmarks.active
General Comments 0
You need to be logged in to leave comments. Login now