[PATCH 3 of 4 stable] templatekw: fix phase keywords

Wagner Bruna wagner.bruna+mercurial at gmail.com
Fri Jan 20 10:01:20 CST 2012


# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1327072201 7200
# Branch stable
# Node ID 4147f3b9a3d7ee81a014966717c790ac138156b7
# Parent  66c586029f97fcb7c4f0089dc83b5b23fa0c5ee4
templatekw: fix phase keywords

diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py
--- a/mercurial/templatekw.py
+++ b/mercurial/templatekw.py
@@ -276,11 +276,11 @@ def shownode(repo, ctx, templ, **args):
     return ctx.hex()
 
 def showphase(repo, ctx, templ, **args):
-    """:rev: String. The changeset phase name."""
+    """:phase: String. The changeset phase name."""
     return ctx.phasestr()
 
 def showphaseidx(repo, ctx, templ, **args):
-    """:rev: Integer. The changeset phase index."""
+    """:phaseidx: Integer. The changeset phase index."""
     return ctx.phase()
 
 def showrev(repo, ctx, templ, **args):


More information about the Mercurial-devel mailing list