"hg qfinish" does not support "-u USER"
Matt Mackall
mpm at selenic.com
Fri Aug 5 16:56:03 UTC 2016
On Fri, 2016-08-05 at 18:30 +0200, Dr Rainer Woitok wrote:
> Greetings,
>
> is there a reason why the "hg qfinish" command does not support a "-u
> USER" option? Currently when finishing some patch to push it upstream I
> have to use three commands rather than just two:
>
> $ hg qfinish
> $ hg commit --amend -u USER
> $ hg push
>
> This works but involves some overhead and unnecessary backup files. Be-
> ing able to just issue "hg qfinish -u USER" would be way more conven-
> ient.
It makes no sense for qfinish... because qfinish never modifies commits (which,
like any other history-editing operation, implies completely stripping it and
all its descendants out of the repository history and writing new versions with
new commit hashes). It simply removes one or more commit hashes from the list of
mq-managed commits.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list