[PATCH] rebase: allow pull --rebase --update

Sune Foldager cryo at cyanite.org
Thu Feb 12 03:38:11 CST 2009


Patrick Mézard wrote:

> I am not against this patch at all, I just feel it should be extended. The
patch version says:
> 
> "hg pull --rebase == hg pull --rebase --update, except when there is
nothing to rebase, the former does not update"
> 
> I would like:
> 
> "hg pull --rebase == hg pull --rebase --update"
> 
> The condition, while making sense as API level, looks like a subtle trap.

I agree 100%; I can't imagine a scenario where you want to rebase if
possible and otherwise not update. Having to specify an extra option seems
rather meaningless. --rebase should definitely imply --update :)

-- 
Sune Foldager




More information about the Mercurial-devel mailing list