Request for rebaseif extension to be provided by default with rebase

Marcin Kasperski Marcin.Kasperski at mekk.waw.pl
Thu May 26 14:14:44 UTC 2011


Sune Foldager <cryo at cyanite.org> writes:

> On 2011-05-25 12:26, Sébastien Deleuze wrote:
>>I agree, it would be even better if abort could be the default
>>behaviour for "hg pull --rebase" since fallback to pure "hg pull" in
>>case of conflicts make sense from my point of view.
>
> Why not just have people always use hg pull and then rebase or merge
> themselves as needed? 

Because checking what is "needed" requires non-trivial effort, and there
is no reason to put this burden on user when it is possible to do the
same automatically...

That's rationale behind "hg rebaseif". 

Regarding "hg pull --rebaseif", not every project is strictly
distributed, people happen to strictly cooperate on single change,
especially in business environments. 

See also the initial post of the thread.





More information about the Mercurial mailing list