This is not an automatic way to delete additional files, but it is simple enough to start manually.
hg st may show unknown or not tracked files. You can use this output as an argument to the rm command. Here is the actual example that I just completed:
$
If you have empty directories left, the -r and -d flags for rm may help.
As a bonus , hg status --ignored can be used to clear all those ignored temp files, as well as swap files from your editor (e.g. Vim).
Clint Pachl Sep 29 '14 at 0:12 2014-09-29 00:12
source share