hg equivalent of git stash
Phillip Koebbe
phillipkoebbe at gmail.com
Mon Jan 14 12:33:22 UTC 2008
On Jan 14, 2008, at 5:39 AM, Masklinn wrote:
>
> This should work alright with shelve, but for the fact that shelve is
> interactive (like record), so it'd look like
>
> hg shelve
> a -> to tell shelve to shelve everything
>
> make changes
> hg ci
>
> hg unshelve
>
>
With the exception that when I tried it last night, it didn't work.
There were no errors or anything, but nothing was shelved. I have
not yet done any more research nor tried to contact the author. That
will be my next step sometime today.
> It would probably be nice if shelve had a -a or --all switch that
> would just shelve everything:
>
> hg shelve -a
>
> make changes
> hg ci
>
> hg unshelve
>
> just so the interactive environment wouldn't be opened.
While the option would be nice, it's not that big of a deal. I can
actually see the benefit of being able to pick and choose what to
shelve and what not to. And while I doubt that I would use it as
often as shelving everything, I'm sure it would come in handy as well.
Peace,
Phillip
More information about the Mercurial
mailing list