changeset 35034: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 de1f045781e0
children e2fc6cec0eff
files mercurial/templatekw.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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')