[PATCH 2 of 2 RFCv2] commands: introduce stash command

Denis Laxalde denis at laxalde.org
Tue Feb 19 04:46:14 CST 2013

Idan Kamara wrote:
> Referring to stashes is done either by index (as shown in --list) or name (if
> one was given). If neither is specified, the most recent stash is chosen.

Wouldn't make more sense to use parent relationships to order stashes?
E.g., if I pop/apply a stash without specifying its name, I'd rather 
want the one that is on top of the closest parent of my current position 
than the most recent one that appeared in the repository (which might be 
in some unrelated branch or so).

More information about the Mercurial-devel mailing list