[PATCH 5 of 5] mq: re-phrase the qrefresh help about the user and date options

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Mon Aug 10 16:07:06 CDT 2009


# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
# Date 1249938108 -7200
# Node ID 748f101a01ef0e9a49bcce19a5559f30a71747fa
# Parent  b91cbac5174a82c2f5e5db1dd70462c0f94a8723
mq: re-phrase the qrefresh help about the user and date options

Re-phrase the help entries for the [-u|-U] and [-d|-D] options, to be
in-line with what actually happens: adding/setting the date/user won't
necessarily add an email-like header, but can add an HG extended format
header.

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -2593,10 +2593,10 @@
          [('e', 'edit', None, _('edit commit message')),
           ('g', 'git', None, _('use git extended diff format')),
           ('s', 'short', None, _('refresh only files already in the patch and specified files')),
-          ('U', 'currentuser', None, _('add/update "From: <current user>" in patch')),
-          ('u', 'user', '', _('add/update "From: <given user>" in patch')),
-          ('D', 'currentdate', None, _('add/update "Date: <current date>" in patch')),
-          ('d', 'date', '', _('add/update "Date: <given date>" in patch'))
+          ('U', 'currentuser', None, _('add/update author field in patch, using current user')),
+          ('u', 'user', '', _('add/update author field in patch, using <given user>')),
+          ('D', 'currentdate', None, _('add/update date field in patch, using current date')),
+          ('d', 'date', '', _('add/update date field in patch, using <given date>'))
           ] + commands.walkopts + commands.commitopts,
          _('hg qrefresh [-I] [-X] [-e] [-m TEXT] [-l FILE] [-s] [FILE]...')),
     'qrename|qmv':




More information about the Mercurial-devel mailing list