# HG changeset patch # User Laurent Charignon # Date 1432856507 25200 # Node ID 31f3636e92969a9fd36f4979964f92f8eb9321c2 # Parent efa2621c2859a608e43de3c68d431eb063c3f0b1 record: precise documentation This patch improves the documentation of the recordfilter function to explain that we need a translated string for the 'operation' argument. diff -r efa2621c2859 -r 31f3636e9296 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)