hg switch

anatoly techtonik techtonik at gmail.com
Fri Oct 24 03:58:49 CDT 2014


On Mon, Oct 20, 2014 at 8:02 PM, Pierre-Yves David
<pierre-yves.david at ens-lyon.org> wrote:
>
>
> On 10/20/2014 07:14 AM, Augie Fackler wrote:
>>
>> On Sat, Oct 18, 2014 at 09:17:04PM +0300, anatoly techtonik wrote:
>>>
>>> http://git-legit.org/
>>>
>>> $ git switch <branch>
>>> # Switches to branch. Stashes and restores unstaged changes.
>>>
>>>
>>> https://stackoverflow.com/questions/1156152/how-do-i-switch-with-mercurial
>>>
>>> https://stackoverflow.com/questions/2159623/how-can-i-switch-to-a-tag-branch-in-hg
>>>
>>> https://stackoverflow.com/questions/4061666/switching-between-mercurial-branches
>>>
>>> ?
>>>
>>> The reasons I came back to this is:
>>>   - intuitive interface is intuitive
>>>   - IIRC, 'hg up' refuses to jump across branches
>>>     if there are uncommitted (unstaged) changes
>>
>>
>> Some sort of auto-stash-unstash behavior/command doesn't seem wholly
>> unreasonable. Consider filing a feature request at
>> http://bz.selenic.com/?
>
>
> +1

Done.

http://bz.selenic.com/show_bug.cgi?id=4420


More information about the Mercurial-devel mailing list