[PATCH 2 of 2] update: change default destination to tipmost descendant (issue4673) (BC)

Sean Farley sean at farley.io
Tue Feb 9 14:28:11 EST 2016


Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1454426651 0
> #      Tue Feb 02 15:24:11 2016 +0000
> # Node ID 913b57e4a14d5961dbd845a45160b51a968c193a
> # Parent  f865f8c9b492bea4514ba49c7c1cf2fa918f9a96
> # EXP-Topic destination
> # Available At http://hg.netv6.net/marmoute-wip/mercurial/
> #              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r 913b57e4a14d
> update: change default destination to tipmost descendant (issue4673) (BC)
>
> Bare 'hg update' now brings you to the tipmost descendant (on the same branch).
> Leaving the user on the same topological branch. The previous behavior, updating
> to the tipmost changeset on the same branch could lead to jump from a
> topological branch to another. This was confusing and impractical. As the only
> conceivable reason for the old behavior have been address by the recently
> introduce message about other heads, we can "safely" change this behavior
>
> All test changes have been reviewed and seen a valid consequences.

I haven't digested the entire patch but I love the direction.


More information about the Mercurial-devel mailing list