[PATCH RFC/WIP] introduce stash command

Idan Kamara idankk86 at gmail.com
Fri Jun 29 07:27:31 CDT 2012


On Fri, Jun 29, 2012 at 3:23 PM, v <voldermort at hotmail.com> wrote:
>
>
> Idan Kamara wrote
> >
> > On Fri, Jun 29, 2012 at 12:37 PM, v <voldermort@> wrote:
> >>
> >>
> >> Sean Farley wrote
> >> >
> >> >> You can only use MQ as a stash if you're not working with MQ.
> >> >> Otherwise,
> >> >> the
> >> >> stash patch will keep getting in the way of the patches that you're
> >> >> working
> >> >> on.
> >> >
> >> > hg help qqueue
> >> >
> >>
> >> I'm in the middle of a patch queue (i.e. some patches applied), and
> >> need
> >> to
> >> stash away the working directory. How can this be done with a different
> >> queue?
> >
> > In that case you can `hg qnew stash && hg qpop` and later
> > on `hg qpush --move stash`.
> >
>
> Not if I want to push the next patch in the queue without unstashing -
> then
> I have to change the order of the patch series first. It's /possible/ to
> use
> mq as a stash, but it can be a messy pain, because mq is the wrong tool
> for
> temporarily stashing away uncommitted changes.

That might be solvable with guards, I haven't tried.

Obviously it's the wrong tool, which is why I wanted to replace it with
something better.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120629/8b93a79d/attachment.html>


More information about the Mercurial-devel mailing list