[PATCH RFC] update: default update should move as far forward as possible (issue3883)

Durham Goode durham at fb.com
Wed Apr 10 15:24:20 CDT 2013


On 4/10/13 1:22 PM, "Augie Fackler" <raf at durin42.com> wrote:

>On Wed, Apr 10, 2013 at 12:55:39PM -0700, Durham Goode wrote:
>>
>> o  3
>> |
>> | o  2
>> | |
>> | @  1
>> |/
>> |
>> o  0
>>
>> 'hg update' will now put you on commit 2.  If you were already on
>>commit 2,
>> it would be a no-op.  If you were on commit 0, it would put you on 3.
>
>Where would it put you before this change?

It would give you an error "abort: crosses branches" because it tried to
go to 3.



More information about the Mercurial-devel mailing list