diff mercurial/cmdutil.py @ 25358:31f3636e9296

record: precise documentation This patch improves the documentation of the recordfilter function to explain that we need a translated string for the 'operation' argument.
author Laurent Charignon <lcharignon@fb.com>
date Thu, 28 May 2015 16:41:47 -0700
parents c1f5ef76d1c2
children 69609f43c752
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Wed May 27 06:55:32 2015 -0700
+++ b/mercurial/cmdutil.py	Thu May 28 16:41:47 2015 -0700
@@ -63,6 +63,7 @@
     selected hunks.
     *operation* is used for ui purposes to indicate the user
     what kind of filtering they are doing: reverting, commiting, shelving, etc.
+    *operation* has to be a translated string.
     """
     usecurses =  ui.configbool('experimental', 'crecord', False)
     testfile = ui.config('experimental', 'crecordtest', None)