Mercurial > hg > crecord
changeset 88:fd72c5cd0633
Use the right help messages for qcrefresh
author | Steve Fink <sfink@mozilla.com> |
---|---|
date | Tue, 30 Aug 2011 16:11:27 -0700 |
parents | b543bbb9bf92 |
children | ccdd58258471 |
files | crecord/__init__.py |
diffstat | 1 files changed, 16 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/crecord/__init__.py +++ b/crecord/__init__.py @@ -50,11 +50,23 @@ 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 usage. - ''' + """ # Note: if the record operation (or subsequent refresh) fails partway # through, the top applied patch will be emptied and the working directory @@ -126,10 +138,10 @@ "qcrefresh": (qcrefresh, - # sample options as qrefresh + # same options as qrefresh mq.cmdtable[qrefresh][1], - _('hg qcrecord [OPTION]... PATCH [FILE]...')), + _('hg qcrefresh [-I] [-X] [-e] [-m TEXT] [-l FILE] [-s] [FILE]...')), } cmdtable.update(qcmdtable)