diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py
index b9c7ac40575706aeac2be47e928c06d3e30bcd86_bWVyY3VyaWFsL3RlbXBsYXRla3cucHk=..bdd1ed80e26e58b575a56fd84aa1eab63056795e_bWVyY3VyaWFsL3RlbXBsYXRla3cucHk= 100644
--- a/mercurial/templatekw.py
+++ b/mercurial/templatekw.py
@@ -276,7 +276,7 @@
     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):
@@ -280,7 +280,7 @@
     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):