[PATCH V5] rebase: fail-fast the pull if working dir is not clean (BC)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Jan 8 08:06:54 EST 2017



On 01/08/2017 06:13 AM, Sean Farley wrote:
> Valters Vingolds <valters at vingolds.ch> writes:
>
>> # HG changeset patch
>> # User Valters Vingolds <valters at vingolds.ch>
>> # Date 1483272989 -3600
>> #      Sun Jan 01 13:16:29 2017 +0100
>> # Node ID 73c1068ae4b9ba4de6c7a20ff10754b6f3b9bb85
>> # Parent  011122b3b1c42374fb0489d107418e1be3665ca6
>> rebase: fail-fast the pull if working dir is not clean (BC)
>>
>> Refuse to run 'hg pull --rebase' if there are uncommitted changes:
>> so that instead of going ahead with fetching changes and then suddenly aborting
>> the rebase, we can warn user of uncommitted changes (or unclean repo state)
>> right up front.
>> In tests, we create a 'histedit' session to verify that also an unfinished
>> state is detected and handled.
>
> If I've followed the discussion so far, this patch seems to address all
> of Pierre-Yves' comments, so I think it's good to go. Marking as
> pre-reviewed.

Yep, that one is pushed, Thanks.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list