mercurial/templatekw.py
changeset 25393 eb52de500d2a
parent 25387 390a10b7843b
parent 25392 ed18f4acf435
child 25663 edd2d20ac687
--- a/mercurial/templatekw.py	Fri May 29 15:18:49 2015 -0700
+++ b/mercurial/templatekw.py	Mon Jun 01 14:47:02 2015 -0500
@@ -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):