hg pull -u -- should it update if nothing is pulled?

Matt Mackall mpm at selenic.com
Wed Sep 27 20:16:18 UTC 2006


On Wed, Sep 27, 2006 at 02:45:48PM -0400, Colin McMillen wrote:
> Hi all,
> 
> "hg pull -u" doesn't do any sort of update unless something is
> actually pulled.  Two orthogonal questions:
> 
> 1) Is this desirable behavior?

Consider:

hg pull -u A   # our working dir ends up at A
hg pull other  # pull in other changes
hg pull -u A   # if A is unchanged, we might jump to the tip from other!

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list