If you did something wrong and created a lot of files in a mercurial repo, you can delete all very quickly with this [bash] hg st | grep ‘^?’ | cut -d ‘ ‘ -f 2 | xargs rm [/bash] Be carefully to execute “hg add” for files you intend to keep otherwise you will… Continue reading Batch remove from Mercurial repo