How can I remove the working copy from a Mercurial clone?
When cloning a repository with mercurial you can pass the -U/--noupdate flag to create a clone with no working copy. Can I remove the working copy if I forget to pass this flag at clone time? And if so, how? This is conceptually similar to this git question , but for mercurial. pyfunc I might be missing the nuances here. Some one can correct me. Documentation at Mercurial wiki says following about bare repositories: " Although this is a minor issue, Mercurial can obviously handle a bare repository; that is, a repository without a working copy. In Git you need a configuration option for that,