Show More
@@ -1753,16 +1753,19 b' def setupheaderopts(ui, opts):' | |||||
1753 | def new(ui, repo, patch, *args, **opts): |
|
1753 | def new(ui, repo, patch, *args, **opts): | |
1754 | """create a new patch |
|
1754 | """create a new patch | |
1755 |
|
1755 | |||
1756 | qnew creates a new patch on top of the currently-applied patch |
|
1756 | qnew creates a new patch on top of the currently-applied patch (if any). | |
1757 |
|
|
1757 | It will refuse to run if there are any outstanding changes unless -f is | |
1758 |
|
|
1758 | specified, in which case the patch will be initialized with them. You | |
1759 | be initialised with them. You may also use -I, -X, and/or a list of |
|
1759 | may also use -I, -X, and/or a list of files after the patch name to add | |
1760 | files after the patch name to add only changes to matching files |
|
1760 | only changes to matching files to the new patch, leaving the rest as | |
1761 |
|
|
1761 | uncommitted modifications. | |
1762 |
|
1762 | |||
1763 | -e, -m or -l set the patch header as well as the commit message. |
|
1763 | -u and -d can be used to set the (given) user and date, respectively. | |
1764 | If none is specified, the patch header is empty and the |
|
1764 | -U and -D set user to current user and date to current date. | |
1765 | commit message is '[mq]: PATCH'""" |
|
1765 | ||
|
1766 | -e, -m or -l set the patch header as well as the commit message. If none | |||
|
1767 | is specified, the header is empty and the commit message is '[mq]: PATCH'. | |||
|
1768 | """ | |||
1766 | msg = cmdutil.logmessage(opts) |
|
1769 | msg = cmdutil.logmessage(opts) | |
1767 | def getmsg(): return ui.edit(msg, ui.username()) |
|
1770 | def getmsg(): return ui.edit(msg, ui.username()) | |
1768 | q = repo.mq |
|
1771 | q = repo.mq |
General Comments 0
You need to be logged in to leave comments.
Login now