[RFC] qdelete -> qpromote?

Adrian Buehlmann adrian at cadifra.com
Wed May 21 10:52:27 CDT 2008


On 21.05.2008 14:09, Dirkjan Ochtman wrote:
> Usage of qdel with -r (promoting MQ changesets to normal hg changesets) is a
> little weird, because "saving to history" isn't exactly congruent with command
> called "delete" or "remove". I propose we move the -r functionality out of qdel
> into a new command called qpromote, which takes one argument (the revision or
> revision range to promote). Possibly, there could be a default of qbase:qtip if
> no argument is specified. I think this makes an important MQ command much easier
> to discover for new users, and, especially with the default argument, easier to
> use.

qpromote is good.

"hg qdelete -r qbase:qtip" is really obscure/scaring.

When I first read
http://www.selenic.com/mercurial/wiki/index.cgi/MqExtension#head-5590c3c0753d1b3eed01462eff24a6eeb90d34cb
I really felt like looking at the wrong thing.

So, +1 for qpromote


More information about the Mercurial-devel mailing list