help: drop help for branches template keyword
authorMatt Mackall <mpm@selenic.com>
Thu, 21 Nov 2013 11:49:31 -0600
changeset 20078 43e872a35f8a
parent 20077 986d09e696ff
child 20079 d4838302305c
help: drop help for branches template keyword The {branches} keyword dates to pre-1.0 Mercurial's tag-like branch scheme which allowed changesets to be on multiple branches. This is the last visible vestige of that scheme, users should instead be using {branch}, possibly with if().
mercurial/templatekw.py
--- a/mercurial/templatekw.py	Thu Nov 21 12:47:03 2013 -0800
+++ b/mercurial/templatekw.py	Thu Nov 21 11:49:31 2013 -0600
@@ -390,6 +390,7 @@
     'parents': _showparents,
 }
 dockeywords.update(keywords)
+del dockeywords['branches']
 
 # tell hggettext to extract docstrings from these functions:
 i18nfunctions = dockeywords.values()