331 """:latesttagdistance: Integer. Longest path to the latest tag.""" |
331 """:latesttagdistance: Integer. Longest path to the latest tag.""" |
332 return getlatesttags(repo, ctx, cache)[1] |
332 return getlatesttags(repo, ctx, cache)[1] |
333 |
333 |
334 def showmanifest(**args): |
334 def showmanifest(**args): |
335 repo, ctx, templ = args['repo'], args['ctx'], args['templ'] |
335 repo, ctx, templ = args['repo'], args['ctx'], args['templ'] |
|
336 mnode = ctx.manifestnode() |
336 args = args.copy() |
337 args = args.copy() |
337 args.update({'rev': repo.manifest.rev(ctx.changeset()[0]), |
338 args.update({'rev': repo.manifest.rev(mnode), 'node': hex(mnode)}) |
338 'node': hex(ctx.changeset()[0])}) |
|
339 return templ('manifest', **args) |
339 return templ('manifest', **args) |
340 |
340 |
341 def shownode(repo, ctx, templ, **args): |
341 def shownode(repo, ctx, templ, **args): |
342 """:node: String. The changeset identification hash, as a 40 hexadecimal |
342 """:node: String. The changeset identification hash, as a 40 hexadecimal |
343 digit string. |
343 digit string. |