[PATCH 2 of 3] rebase: choose default destination the same way as 'hg merge' (BC)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Feb 23 15:15:14 EST 2016



On 02/23/2016 08:52 PM, Augie Fackler wrote:
> On Thu, Feb 18, 2016 at 12:05:26AM +0900, Yuya Nishihara wrote:
>> On Mon, 15 Feb 2016 10:49:15 +0000, Pierre-Yves David wrote:
>>> # HG changeset patch
>>> # User Pierre-Yves David <pierre-yves.david at fb.com>
>>> # Date 1455456359 0
>>> #      Sun Feb 14 13:25:59 2016 +0000
>>> # Node ID 1b45c38d02ddca7ff763366e732528c658ccb13c
>>> # Parent  dfac70f47ed5ac6802eba6a331f36fb843c81bc7
>>> # EXP-Topic destination
>>> # Available At http://hg.netv6.net/marmoute-wip/mercurial/
>>> #              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r 1b45c38d02dd
>>> rebase: choose default destination the same way as 'hg merge' (BC)
>>
>> I like the new behavior even though it is a big BC.
>>
>>> This changeset finally make 'hg rebase' choose its default destination using the
>>> same logic as 'hg merge'. The previous default was "tipmost changeset on the
>>> current branch", the new default is "the other head if there is only one".
>>
>> "help rebase" still says "the current branch tip as the destination." We'll
>> have to update it.
>
> +1 - I'd like a v2 that at least has this fix. I don't feel strongly
> about the other comments below, but for now I'll await a v2 of the
> series (eagerly, as this is a huge win for users everywhere).

yuya pushed a v2 on the clowncopter earlier today.


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list