##// END OF EJS Templates
revlog: explicitely pass the "indexfile" parameter...
marmoute -
r47906:1352cc14 default
parent child Browse files
Show More
@@ -281,7 +281,7 b' class manifestrevlogstore(object):'
281 self._store = repo.store
281 self._store = repo.store
282 self._svfs = repo.svfs
282 self._svfs = repo.svfs
283 self._revlogs = dict()
283 self._revlogs = dict()
284 self._cl = revlog.revlog(self._svfs, b'00changelog.i')
284 self._cl = revlog.revlog(self._svfs, indexfile=b'00changelog.i')
285 self._repackstartlinkrev = 0
285 self._repackstartlinkrev = 0
286
286
287 def get(self, name, node):
287 def get(self, name, node):
@@ -344,7 +344,7 b' class manifestrevlogstore(object):'
344 revlogname = b'00manifesttree.i'
344 revlogname = b'00manifesttree.i'
345 if name != b'':
345 if name != b'':
346 revlogname = b'meta/%s/00manifest.i' % name
346 revlogname = b'meta/%s/00manifest.i' % name
347 rl = revlog.revlog(self._svfs, revlogname)
347 rl = revlog.revlog(self._svfs, indexfile=revlogname)
348 self._revlogs[name] = rl
348 self._revlogs[name] = rl
349 return rl
349 return rl
350
350
@@ -365,7 +365,7 b' class manifestrevlogstore(object):'
365 if options and options.get(constants.OPTION_PACKSONLY):
365 if options and options.get(constants.OPTION_PACKSONLY):
366 return
366 return
367 treename = b''
367 treename = b''
368 rl = revlog.revlog(self._svfs, b'00manifesttree.i')
368 rl = revlog.revlog(self._svfs, indexfile=b'00manifesttree.i')
369 startlinkrev = self._repackstartlinkrev
369 startlinkrev = self._repackstartlinkrev
370 endlinkrev = self._repackendlinkrev
370 endlinkrev = self._repackendlinkrev
371 for rev in pycompat.xrange(len(rl) - 1, -1, -1):
371 for rev in pycompat.xrange(len(rl) - 1, -1, -1):
@@ -384,7 +384,7 b' class manifestrevlogstore(object):'
384
384
385 treename = path[5 : -len(b'/00manifest.i')]
385 treename = path[5 : -len(b'/00manifest.i')]
386
386
387 rl = revlog.revlog(self._svfs, path)
387 rl = revlog.revlog(self._svfs, indexfile=path)
388 for rev in pycompat.xrange(len(rl) - 1, -1, -1):
388 for rev in pycompat.xrange(len(rl) - 1, -1, -1):
389 linkrev = rl.linkrev(rev)
389 linkrev = rl.linkrev(rev)
390 if linkrev < startlinkrev:
390 if linkrev < startlinkrev:
General Comments 0
You need to be logged in to leave comments. Login now