mercurial/templatekw.py
branchstable
changeset 25392 ed18f4acf435
parent 24676 13c42a883e8b
child 25393 eb52de500d2a
--- a/mercurial/templatekw.py	Mon Jun 01 10:50:15 2015 +0900
+++ b/mercurial/templatekw.py	Tue Jun 02 02:28:33 2015 +0900
@@ -111,7 +111,7 @@
 
 def getfiles(repo, ctx, revcache):
     if 'files' not in revcache:
-        revcache['files'] = repo.status(ctx.p1().node(), ctx.node())[:3]
+        revcache['files'] = repo.status(ctx.p1(), ctx)[:3]
     return revcache['files']
 
 def getlatesttags(repo, ctx, cache):