mercurial/templatekw.py
changeset 20683 6cb419dd3703
parent 20520 5c65ee4193e1
child 21896 2b41ee1b5ea1
equal deleted inserted replaced
20682:7f8cbaaa8eea 20683:6cb419dd3703
   299     return getlatesttags(repo, ctx, cache)[1]
   299     return getlatesttags(repo, ctx, cache)[1]
   300 
   300 
   301 def showmanifest(**args):
   301 def showmanifest(**args):
   302     repo, ctx, templ = args['repo'], args['ctx'], args['templ']
   302     repo, ctx, templ = args['repo'], args['ctx'], args['templ']
   303     args = args.copy()
   303     args = args.copy()
   304     args.update(dict(rev=repo.manifest.rev(ctx.changeset()[0]),
   304     args.update({'rev': repo.manifest.rev(ctx.changeset()[0]),
   305                      node=hex(ctx.changeset()[0])))
   305                  'node': hex(ctx.changeset()[0])})
   306     return templ('manifest', **args)
   306     return templ('manifest', **args)
   307 
   307 
   308 def shownode(repo, ctx, templ, **args):
   308 def shownode(repo, ctx, templ, **args):
   309     """:node: String. The changeset identification hash, as a 40 hexadecimal
   309     """:node: String. The changeset identification hash, as a 40 hexadecimal
   310     digit string.
   310     digit string.