hg qrefresh#
update the current patch#
hg qrefresh [-I] [-X] [-e] [-m TEXT] [-l FILE] [-s] [FILE]...
This command is provided by the mq extension.
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.
If -e/--edit is specified, Mercurial will start your configured editor for
you to enter a message. In case qrefresh fails, you will find a backup of
your message in .hg/last-message.txt.
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.
Returns 0 on success.
Options
Every command accepts the global options.
|
|
invoke editor on commit messages |
|
|
use git extended diff format |
|
|
refresh only files already in the patch and specified files |
|
|
add/update author field in patch with current user |
|
|
add/update author field in patch with given user |
|
|
add/update date field in patch with current date |
|
|
add/update date field in patch with given date |
|
|
include names matching the given patterns |
|
|
exclude names matching the given patterns |
|
|
use text as commit message |
|
|
read commit message from file |
Options marked [+] can be repeated.