diff mercurial/commands.py @ 13591:264f292a0c6f

templatefilters: move doc from templates.txt to docstrings
author Patrick Mezard <pmezard@gmail.com>
date Sat, 12 Mar 2011 12:46:31 +0100
parents 2e80d495592a
children 0388e3e36693
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Mar 12 12:46:31 2011 +0100
+++ b/mercurial/commands.py	Sat Mar 12 12:46:31 2011 +0100
@@ -13,7 +13,7 @@
 import patch, help, mdiff, url, encoding, templatekw, discovery
 import archival, changegroup, cmdutil, sshserver, hbisect, hgweb, hgweb.server
 import merge as mergemod
-import minirst, revset
+import minirst, revset, templatefilters
 import dagparser
 
 # Commands start here, listed alphabetically
@@ -2143,6 +2143,7 @@
 
     help.addtopichook('revsets', revset.makedoc)
     help.addtopichook('templates', templatekw.makedoc)
+    help.addtopichook('templates', templatefilters.makedoc)
 
     if name and name != 'shortlist':
         i = None