[PATCH 2 of 2 RFCv2] commands: introduce stash command
pierre-yves.david at ens-lyon.org
Wed Feb 20 04:47:10 CST 2013
On 20 févr. 2013, at 07:02, Gilles Moris wrote:
> On Tuesday 19 February 2013 06:18:56 pm Kevin Bullock wrote:
>> Not necessarily. I often start working on a change e.g. on the stable
>> branch, then realize that it should really be done on default. 'stash' is a
>> logical way to move working-directory changes across branches without
>> having to either (a) really commit, or (b) update to the common ancestor,
>> then up to the target head.
> But this is another story: it is because the merge engine cannot handle cross
> branches merge. I would prefer that the update command be fixed instead. This
> seems the equivalent of the graft command for the working directory, so
> possibly the infrastructure for that might be almost in place.
The merge engine can handle that just fine. Its a deliberate User interface choice.
More information about the Mercurial-devel