Mercurial > hg
changeset 26434:0a823de8d7b7
templatekw: reorder stub of showparents() function
It will have an implementation.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 26 Sep 2015 12:32:03 +0900 |
parents | 3ad41638b4b4 |
children | 882b170ae616 |
files | mercurial/templatekw.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templatekw.py Sat Sep 26 12:29:09 2015 +0900 +++ b/mercurial/templatekw.py Sat Sep 26 12:32:03 2015 +0900 @@ -397,6 +397,12 @@ parent, all digits are 0.""" return ctx.p2().hex() +def _showparents(**args): + """:parents: List of strings. The parents of the changeset in "rev:node" + format. If the changeset has only one "natural" parent (the predecessor + revision) nothing is shown.""" + pass + def showphase(repo, ctx, templ, **args): """:phase: String. The changeset phase name.""" return ctx.phasestr() @@ -492,12 +498,6 @@ 'tags': showtags, } -def _showparents(**args): - """:parents: List of strings. The parents of the changeset in "rev:node" - format. If the changeset has only one "natural" parent (the predecessor - revision) nothing is shown.""" - pass - dockeywords = { 'parents': _showparents, }