title: How can I remove the working copy from a Mercurial clone?
body: <p>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?</p>
  
  <p>This is conceptually similar to <a href="https://stackoverflow.com/questions/2199897/git-convert-normal-to-bare-repository">this git question</a>, but for mercurial.</p>