##// END OF EJS Templates
phases: add a phase template keyword
Pierre-Yves David -
r15422:042e11c4 default
parent child Browse files
Show More
@@ -275,6 +275,10 b' def shownode(repo, ctx, templ, **args):'
275 275 """
276 276 return ctx.hex()
277 277
278 def showphase(repo, ctx, templ, **args):
279 """:rev: Integer. The changeset phase."""
280 return ctx.phase()
281
278 282 def showrev(repo, ctx, templ, **args):
279 283 """:rev: Integer. The repository-local changeset revision number."""
280 284 return ctx.rev()
@@ -312,6 +316,7 b' keywords = {'
312 316 'latesttagdistance': showlatesttagdistance,
313 317 'manifest': showmanifest,
314 318 'node': shownode,
319 'phase': showphase,
315 320 'rev': showrev,
316 321 'tags': showtags,
317 322 }
General Comments 0
You need to be logged in to leave comments. Login now