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

Patrick Mézard pmezard at gmail.com
Sat Jan 17 09:15:06 CST 2009


Stefano Tortarolo a écrit :
> # HG changeset patch
> # User Stefano Tortarolo <stefano.tortarolo at gmail.com>
> # Date 1232190634 -3600
> # Node ID 7ad65f570cd8faf43e2951ef8bbd66c95e847f9c
> # Parent  f7256cd9beffe9efd85957368781a88171ed9977
> rebase: allow pull --rebase --update

I never used pull --rebase, but I agree with the OP about --rebase should update if there is nothing to rebase. It feels right to extend "rebase" to "rebase if there is something to rebase, update otherwise", in this kind of workflow. Besides, I have cannot figure when you would want not to update if there is nothing to rebase but asked for --rebase nevertheless.

What do people think ?

--
Patrick Mézard


More information about the Mercurial-devel mailing list