Skip to content
Snippets Groups Projects
Commit f7a8228f authored by Brendan Cully's avatar Brendan Cully
Browse files

Use parentrevs shortcut in filectx.annotate

parent a63be0df
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@
def parents(f):
# we want to reuse filectx objects as much as possible
p = f._path
pl = [ (p, f._filelog.rev(n)) for n in f._filelog.parents(f._filenode) ]
pl = [ (p, r) for r in f._filelog.parentrevs(f._filerev) ]
if follow:
r = f.renamed()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment