mercurial/templatekw.py
branchstable
changeset 25392 ed18f4acf435
parent 24676 13c42a883e8b
child 25393 eb52de500d2a
equal deleted inserted replaced
25366:b3840fb03dba 25392:ed18f4acf435
   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