Show More
@@ -275,6 +275,10 b' def shownode(repo, ctx, templ, **args):' | |||||
275 | """ |
|
275 | """ | |
276 | return ctx.hex() |
|
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 | def showrev(repo, ctx, templ, **args): |
|
282 | def showrev(repo, ctx, templ, **args): | |
279 | """:rev: Integer. The repository-local changeset revision number.""" |
|
283 | """:rev: Integer. The repository-local changeset revision number.""" | |
280 | return ctx.rev() |
|
284 | return ctx.rev() | |
@@ -312,6 +316,7 b' keywords = {' | |||||
312 | 'latesttagdistance': showlatesttagdistance, |
|
316 | 'latesttagdistance': showlatesttagdistance, | |
313 | 'manifest': showmanifest, |
|
317 | 'manifest': showmanifest, | |
314 | 'node': shownode, |
|
318 | 'node': shownode, | |
|
319 | 'phase': showphase, | |||
315 | 'rev': showrev, |
|
320 | 'rev': showrev, | |
316 | 'tags': showtags, |
|
321 | 'tags': showtags, | |
317 | } |
|
322 | } |
General Comments 0
You need to be logged in to leave comments.
Login now