[PATCH RFC] mq: support "qimport --existing --name renametothis thatexistingpatch"

Laurens Holst laurens.nospam at grauw.nl
Tue Jul 27 04:40:54 CDT 2010


Op 23-07-10 04:50, Nicolas Dumazet schreef:
> What about:
>
> diff --git a/hgext/mq.py b/hgext/mq.py
> --- a/hgext/mq.py
> +++ b/hgext/mq.py
> @@ -1806,6 +1806,16 @@
>       To import a patch from standard input, pass - as the patch file.
>       When importing from standard input, a patch name must be specified
>       using the --name flag.
> +
> +    You can import a patch existing inside the patch repository and
> +    rename it on the go::
> +
> +      hg qimport -e -n new-name existing-patch
> +
> +    Note that order of arguments does not matter, and the same can be
> +    achieved with::
> +
> +      hg qimport -e existing-patch -n new-name
>    

Giving two examples in the help text just to describe this detail 
doesn’t seem useful to me.

~Laurens

-- 
~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, developer, Utrecht, the Netherlands
Website: www.grauw.nl. Backbase employee; www.backbase.com



More information about the Mercurial-devel mailing list