hg remove dir
If you run out of empty directories, and you want to get rid of them, then a simple way is to expand the purge. (add purge = under the [extensions] group to your .hrgc file to unlock).
Then you can use
hg purge
to clean up empty disks ... you have to be careful with the cleanup command as it removes everything that is not tracked in your repositories. I highly recommend you run
hg purge -p
to see what the command will do (-p will print a βtest runβ without doing anything.) Never forget the --help option ;;)
edit: I prefer to use purge to update hg sequentially since trigger updates are restored in my IDE if it is open (and this is a good bet when I do this). hg brushing is likely to be smoother. And you can use -all to include ignored files (should be careful).
Eric-Karl Oct 13 '10 at 23:40 2010-10-13 23:40
source share