MQ usability

Patrick Mézard pmezard at gmail.com
Sun Aug 23 10:51:02 CDT 2009


Peter Williams a écrit :
>> Could you elaborate on how you use qsave exactly?
>> Are you talking about rebasing patches with the complicated
>> qsave/qpush -m dance?
> 
> I also suggested that a special version of rebase (e.g. qrebase) could
> be used to replace qsave (which would also make qrestore unnecessary).
> Its interface could be considerably simpler than rebase's because less
> things would need to be specified.

What do you have in mind?

I you rebase your queue systematically (I am not promoting this, but otherwise you already do enough revision manipulations that finding the target head has a marginal cost) instead of qpop/qpushing, the only argument to pass is usually the target head revision. Perhaps, we could add even more smarts and have an argument to rebase onto the "tipmost" revision on current branch, excluding revisions being rebased, but that would go in rebase extension.

--
Patrick Mézard


More information about the Mercurial-devel mailing list