##// 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 281 self._store = repo.store
282 282 self._svfs = repo.svfs
283 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 285 self._repackstartlinkrev = 0
286 286
287 287 def get(self, name, node):
@@ -344,7 +344,7 b' class manifestrevlogstore(object):'
344 344 revlogname = b'00manifesttree.i'
345 345 if name != b'':
346 346 revlogname = b'meta/%s/00manifest.i' % name
347 rl = revlog.revlog(self._svfs, revlogname)
347 rl = revlog.revlog(self._svfs, indexfile=revlogname)
348 348 self._revlogs[name] = rl
349 349 return rl
350 350
@@ -365,7 +365,7 b' class manifestrevlogstore(object):'
365 365 if options and options.get(constants.OPTION_PACKSONLY):
366 366 return
367 367 treename = b''
368 rl = revlog.revlog(self._svfs, b'00manifesttree.i')
368 rl = revlog.revlog(self._svfs, indexfile=b'00manifesttree.i')
369 369 startlinkrev = self._repackstartlinkrev
370 370 endlinkrev = self._repackendlinkrev
371 371 for rev in pycompat.xrange(len(rl) - 1, -1, -1):
@@ -384,7 +384,7 b' class manifestrevlogstore(object):'
384 384
385 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 388 for rev in pycompat.xrange(len(rl) - 1, -1, -1):
389 389 linkrev = rl.linkrev(rev)
390 390 if linkrev < startlinkrev:
General Comments 0
You need to be logged in to leave comments. Login now