mercurial/templatekw.py
changeset 25393 eb52de500d2a
parent 25387 390a10b7843b
parent 25392 ed18f4acf435
child 25663 edd2d20ac687
equal deleted inserted replaced
25391:c66d95aa1270 25393:eb52de500d2a
   109     if endname in templ:
   109     if endname in templ:
   110         yield templ(endname, **args)
   110         yield templ(endname, **args)
   111 
   111 
   112 def getfiles(repo, ctx, revcache):
   112 def getfiles(repo, ctx, revcache):
   113     if 'files' not in revcache:
   113     if 'files' not in revcache:
   114         revcache['files'] = repo.status(ctx.p1().node(), ctx.node())[:3]
   114         revcache['files'] = repo.status(ctx.p1(), ctx)[:3]
   115     return revcache['files']
   115     return revcache['files']
   116 
   116 
   117 def getlatesttags(repo, ctx, cache):
   117 def getlatesttags(repo, ctx, cache):
   118     '''return date, distance and name for the latest tag of rev'''
   118     '''return date, distance and name for the latest tag of rev'''
   119 
   119