confusing pull -u behavior

Bill Barry after.fallout at gmail.com
Thu Mar 12 21:27:39 CDT 2009


Mads Kiilerich wrote:
>
> Yes, pull -u is a very convenient combination of two commands, and it 
> is clearly documented what it is intended to do, and that is exactly 
> what it does. But very often I want something else. What is "missing" 
> is a _different_ combination of the pull and the update.
>
> But ... why should that be built in? A better solution is to use the 
> shell to combine Mercurial commands. In this example "hg pull;hg up" 
> is what is meant, so why not just use that instead?
I think the confusing aspect of it is that hg pull -u is not
    hg pull; hg up
it is
    if incoming, hg pull;hg up


More information about the Mercurial mailing list