record: precise documentation
authorLaurent Charignon <lcharignon@fb.com>
Thu, 28 May 2015 16:41:47 -0700
changeset 25358 31f3636e9296
parent 25357 efa2621c2859
child 25359 724421cb4745
record: precise documentation This patch improves the documentation of the recordfilter function to explain that we need a translated string for the 'operation' argument.
mercurial/cmdutil.py
--- 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)