> How would that work? How could hg purge the .bak, .orig, .rej, .old, > etc. files? hg purge (it's an extension) removes anything that isn't tracked (and not ignored in the .hgignore): kind of distclean. I hope this helps