changeset 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 efa2621c2859
children 724421cb4745
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)