[RFC] qdelete -> qpromote?

Rafael Villar Burke pachi at rvburke.com
Wed May 21 08:05:34 CDT 2008

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.
...and substantially less scary.
> piranha in IRC proposes hg qexport, which is nicely symmetrical to qimport but
> bears very little relation to export, which makes it a weaker choice.
Well, qimport is related to import in the same way.

IMHO, loosing the benefits of symmetrical behaviour is a pity, as
qimport and qexport would refer to the transition of "normal" changesets
into mq patches and viceversa.

Also, whether promotion and import work in which direction would still
be confusing.

So +1 for qexport from me.


Rafael Villar Burke

More information about the Mercurial-devel mailing list