Mercurial > public > mercurial-scm > hg
diff mercurial/templatekw.py @ 34991:29e6513856ee
help: hide phaseidx template keyword
I don't think it's great idea to expose the internal representation of phases.
Let's discourage use of the phaseidx keyword.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Oct 2017 17:05:04 +0900 |
parents | e27f1f04c2cf |
children | e2fc6cec0eff |
line wrap: on
line diff
--- a/mercurial/templatekw.py Mon Oct 23 00:02:46 2017 +0530 +++ b/mercurial/templatekw.py Sat Oct 21 17:05:04 2017 +0900 @@ -816,7 +816,7 @@ @templatekeyword('phaseidx') def showphaseidx(repo, ctx, templ, **args): - """Integer. The changeset phase index.""" + """Integer. The changeset phase index. (ADVANCED)""" return ctx.phase() @templatekeyword('rev')