[PATCH RFC/WIP] introduce stash command
Matt Mackall
mpm at selenic.com
Sun Jun 3 12:43:07 CDT 2012
On Sun, 2012-06-03 at 01:43 +0300, Idan Kamara wrote:
> > - will prevent qpop
> >
> > There goes a big use-case.
>
> Not sure I get the use case.
If you try to qpop with a dirty working directory, it says no. So you
stash. Now qpop says "uh, you've got non-mq csets on my stack, buddy,
what gives?"
Basically any time you want to remove the last changeset
(qpop/strip/rollback) won't work with stash without additional
stash-aware smarts.
> > - -p vs --pop is sure to annoy people
>
> Including myself. But I wanted to stay consistent with -p
> which is used in log/tip.
> Maybe we can rename pop to restore (although then it's not
> immediately obvious how it differs from apply).
-u/--unstash?
> Yeah, when I started this thing yesterday afternoon, I thought it's
> as easy as putting some stuff in repo.changelog.hiddenrevs, but
> there's no infrastructure for it yet.
>
> So any pointers/help in this area will be appreciated.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list