##// END OF EJS Templates
index: use `index.get_rev` in `obsutil.getobsoleted`...
marmoute -
r43864:b7eee04e default draft
parent child Browse files
Show More
@@ -478,7 +478,7 b' def geteffectflag(source, successors):'
478
478
479 def getobsoleted(repo, tr):
479 def getobsoleted(repo, tr):
480 """return the set of pre-existing revisions obsoleted by a transaction"""
480 """return the set of pre-existing revisions obsoleted by a transaction"""
481 torev = repo.unfiltered().changelog.nodemap.get
481 torev = repo.unfiltered().changelog.index.get_rev
482 phase = repo._phasecache.phase
482 phase = repo._phasecache.phase
483 succsmarkers = repo.obsstore.successors.get
483 succsmarkers = repo.obsstore.successors.get
484 public = phases.public
484 public = phases.public
General Comments 0
You need to be logged in to leave comments. Login now