1. edgimar
  2. crecord


sfink  committed fd72c5c

Use the right help messages for qcrefresh

  • Participants
  • Parent commits b543bbb
  • Branches default

Comments (0)

Files changed (1)

File crecord/__init__.py

View file
 def qcrefresh(ui, repo, *pats, **opts):
-    '''interactively update the current patch
+    """interactively update the current patch
+    If any file patterns are provided, the refreshed patch will
+    contain only the modifications that match those patterns; the
+    remaining modifications will remain in the working directory.
+    If -s/--short is specified, files currently included in the patch
+    will be refreshed just like matched files and remain in the patch.
+    hg add/remove/copy/rename work as usual, though you might want to
+    use git-style patches (-g/--git or [diff] git=1) to track copies
+    and renames. See the diffs help topic for more information on the
+    git diff format.
     See :hg:`help qrefresh` & :hg:`help crecord` for more information and
-    '''
+    """
     # Note: if the record operation (or subsequent refresh) fails partway
     # through, the top applied patch will be emptied and the working directory
-         # sample options as qrefresh
+         # same options as qrefresh
-         _('hg qcrecord [OPTION]... PATCH [FILE]...')),
+         _('hg qcrefresh [-I] [-X] [-e] [-m TEXT] [-l FILE] [-s] [FILE]...')),