##// END OF EJS Templates
index: use `index.get_rev` in `phases.newheads`...
marmoute -
r43863:d294f0ba default draft
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