How do I remove the working directory?

Matt Mackall mpm at selenic.com
Tue Apr 1 10:49:22 CDT 2008


On Tue, 2008-04-01 at 10:15 +0200, Oliver Večernik wrote:
> Brendan Cully wrote:
> > hg up -C null ought to do it.
> 
> Just curious (testing with 1.0):
> 
>   hg up -C null
>   hg update null
> 
> works, but:
> 
>   hg up null
> 
> does not work.  I thought up is just an alias for update.  Is this the
> intended behavior?  Why?

It is an alias, with zero functional differences. It'd probably help if
you defined 'does not work'. For instance, without -C, it's likely to
hold on to your local uncommitted changes.
 
-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list