[PATCH 0 of 3] Add option for operating on queue repository

Dirkjan Ochtman dirkjan at ochtman.nl
Sat Jul 11 15:07:09 CDT 2009


On Mon, Jul 6, 2009 at 15:22, Dan Villiom Podlaski
Christiansen<danchr at gmail.com> wrote:
> 2009-07-06  Dan Villiom Podlaski Christiansen  <danchr at gmail.com>
>
>        * hgext/mq.py:
>        mq: add -Q/--queue option to some commands for operating on the
>        queue repo.
>        [fbc1220dbe69] [mq-repo-option.diff]

Just to weigh in: I dislike this just because I think it unreasonably
complicates the UI. It adds an option to a large number of commands,
complicating documentation for each of those commands. I also think
only a relatively small part of the mq-using population does actually
version their MQ (other than maybe doing qcommit just for the
backups). I also agree a separate 'mq' command is probably not the
best solution, although at least that variant doesn't complicate hg
itself.

It's a hard UI issue, and I'm not sure what the best solution here is.
The best option I can think of right now is a hg
qrepo/qcontrol/qsomething that has --push, --pull, --status and maybe
a few other useful actionable options (though that's somewhat ugly
because the acceptable option set changes somewhat based on what's in
it).

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list