hg qpop --help
Chris Mason
chris.mason at ORACLE.COM
Tue Nov 28 15:34:57 UTC 2006
On Tue, Nov 28, 2006 at 04:24:39PM +0100, Stefan Reichör wrote:
> Hi!
>
> I have some questions about the qpop command. The built-in help gives
> the following text:
>
> % hg qpop --help
> hg qpop [-a] [-n NAME] [-f] [PATCH | INDEX]
>
> pop the current patch off the stack
>
> options:
>
> -a --all pop all patches
> -n --name queue name to pop
> -f --force forget any local changes
>
>
> * --name
> Which queue name? Is the default .hg/patches? Can I specify a
> different one here?
Yes, the default is .hg/patches. You can give a different one, the
directory just has to exist under .hg/. hg qpop -n is meant for the
three way merging process:
http://www.selenic.com/mercurial/wiki/index.cgi/MqMerge
>
> So I tried the following:
>
> % hg qpop -n lala
> using patch queue: /home/srei/work/hg/w2/.hg/lala
> abort: no patches applied
>
> How can I create such a patch queue? I think "hg qinit" should
> support the -n parameter also!
>
> * PATCH | INDEX
> PATCH is the name of the patch. But why is there also an index?
> This disallows numerical patch names.
The index lookup is smart, it will prefer a patch named 100 over the
index 100.
-chris
More information about the Mercurial-devel
mailing list