##// END OF EJS Templates
index: use `index.get_rev` in `phases.newheads`...
marmoute -
r43956:505a2bc5 default
parent child Browse files
Show More
@@ -733,7 +733,7 b' def newheads(repo, heads, roots):'
733
733
734 repo = repo.unfiltered()
734 repo = repo.unfiltered()
735 cl = repo.changelog
735 cl = repo.changelog
736 rev = cl.nodemap.get
736 rev = cl.index.get_rev
737 if not roots:
737 if not roots:
738 return heads
738 return heads
739 if not heads or heads == [nullid]:
739 if not heads or heads == [nullid]:
General Comments 0
You need to be logged in to leave comments. Login now