"hg qfinish" does not support "-u USER"

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Aug 5 16:38:21 UTC 2016


> On Aug 5, 2016, at 11:30, Dr Rainer Woitok <rainer.woitok at gmail.com> 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.

qfinish doesn't, but qrefresh does:

    $ hg qrefresh -u USER
    $ hg qfinish

The mq extension isn't receiving any development effort except bugfixes at this point. If it's working for you, that's great, but there are also some more modern alternatives: <https://www.mercurial-scm.org/wiki/MqExtension#A_word_of_warning_for_new_users>

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock




More information about the Mercurial mailing list