help: hide phaseidx template keyword
authorYuya Nishihara <yuya@tcha.org>
Sat, 21 Oct 2017 17:05:04 +0900
changeset 34991 29e6513856ee
parent 34978 de1f045781e0
child 34992 e2fc6cec0eff
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.
mercurial/templatekw.py
--- 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')