Show More
@@ -397,6 +397,12 b' def showp2node(repo, ctx, templ, **args)' | |||||
397 | parent, all digits are 0.""" |
|
397 | parent, all digits are 0.""" | |
398 | return ctx.p2().hex() |
|
398 | return ctx.p2().hex() | |
399 |
|
399 | |||
|
400 | def _showparents(**args): | |||
|
401 | """:parents: List of strings. The parents of the changeset in "rev:node" | |||
|
402 | format. If the changeset has only one "natural" parent (the predecessor | |||
|
403 | revision) nothing is shown.""" | |||
|
404 | pass | |||
|
405 | ||||
400 | def showphase(repo, ctx, templ, **args): |
|
406 | def showphase(repo, ctx, templ, **args): | |
401 | """:phase: String. The changeset phase name.""" |
|
407 | """:phase: String. The changeset phase name.""" | |
402 | return ctx.phasestr() |
|
408 | return ctx.phasestr() | |
@@ -492,12 +498,6 b' keywords = {' | |||||
492 | 'tags': showtags, |
|
498 | 'tags': showtags, | |
493 | } |
|
499 | } | |
494 |
|
500 | |||
495 | def _showparents(**args): |
|
|||
496 | """:parents: List of strings. The parents of the changeset in "rev:node" |
|
|||
497 | format. If the changeset has only one "natural" parent (the predecessor |
|
|||
498 | revision) nothing is shown.""" |
|
|||
499 | pass |
|
|||
500 |
|
||||
501 | dockeywords = { |
|
501 | dockeywords = { | |
502 | 'parents': _showparents, |
|
502 | 'parents': _showparents, | |
503 | } |
|
503 | } |
General Comments 0
You need to be logged in to leave comments.
Login now