hg equivalent of git stash
Arne Babenhauserheide
arne_bab at web.de
Tue Dec 13 05:50:57 UTC 2011
Am Montag, 12. Dezember 2011, 20:27:29 schrieb anatoly techtonik:
> I don't want to spread FUD replying to the 3rd one, and it is not my aim. I
> just want to say that a while ago Mercurial the power of different HG
> extensions was a huge advantage compared to other VCS. Now that other VCS
> also support all the options an average user needs, it is becoming a major
> disadvantage of Mercurial that its extensions don't work "by default".
> Other extension is not an preferred option. In addition Matt itself
> recommended MQ as a better 'git stash' in Mercurial.
Frankly I don’t really like the workflow with MQ either - it is too powerful
for an extension and has tons of usecases which need knowledge which partly
replaces core commands. Also it reduces the itch to create easy to use
advanced commands, because it can somehow do everything…
But (to me) the point of extensions is not mainly that you can more easily add
advanced functionality to Mercurial (which is true nontheless). The main
advantage is that dangerous functionality can be put behind a layer of
insulation, so users have to consciously activate it and new users are in less
danger of losing work.
I can give a new user Mercurial and he can just use it.
I agree though that there is some functionality which would be nice to have by
default. Luckily there is work being done on that: To get things like stash,
but as fully integrated part of the workflow, there’s been work on the LiquidHG
concept for over a year, which aims to bring safe history editing of
unpublished changes to Mercurial.
It just takes time to do it right…
If you’re interested, have a look at the “phases” patches.
Best wishes,
Arne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111213/09a46b9e/attachment.asc>
More information about the Mercurial
mailing list