How do I remove the working directory?

Brendan Cully brendan at
Mon Mar 31 13:39:22 CDT 2008

On Monday, 31 March 2008 at 19:35, Paul Moore wrote:
> I have a clone of a remote repository, which I want to use as a
> mirror. As such, there's no need for a working directory, but I'd
> missed the -U option when I created it.
> Is there a way of removing the working directory? It's not a big deal,
> as I can just reclone with -U, but I'm just curious.

hg up -C null ought to do it.

More information about the Mercurial mailing list