[PATCH] mq: add -Q/--queue option to some commands for operating on the queue repo

Nicolas Dumazet nicdumz at gmail.com
Sun Jul 12 20:10:44 CDT 2009


2009/7/10 Dan Villiom Podlaski Christiansen <danchr at gmail.com>:
> # HG changeset patch
> # User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
> # Date 1247226340 -7200
> # Node ID e7190982f31d44aa90b435851c1b14ee05e7d237
> # Parent  52d90da7c7a8f6b5af6ece6b62fb842269983a3e
> mq: add -Q/--queue option to some commands for operating on the queue repo.


I like that idea. I'm currently using a "mq" alias, a builtin shortcut
could be useful.


I would like, however, to see some passing tests around :)


> +A versioned repository for the patch queue can be created by using the
> +-c/--create-repo option for 'qinit', or by using the 'qclone'
> +command. To work with this repository, the -Q/--queue option can be
> +used with any of the following commands:
[...]
>
> +# TODO: replace 'qimport' and 'qclone' with 'import' and 'clone' wrappers.
[...]
> +            raise util.Abort(_('versioned patch repository not found'
> +                               ' (see qinit -c)'))

As a user, I think that I would expect init -Q to work too.


-- 
Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]



More information about the Mercurial-devel mailing list