hg purge

Marco Barisione barisione at gmail.com
Tue May 16 04:12:20 CDT 2006


When using CVS I always use cvspurge (from the CVS Utilities package) to 
delete the auto generated files that are not deleted by make distclean. 
This is useful to test local and uncommitted changes in the otherwise 
clean source tree.

Mercurial does not have a similar feature so I wrote an extension for it 
that behaves like cvspurge.

This means that hg purge will delete:
  - Unknown files
  - Ignored files
  - Empty directories

My extension can be found at http://www.barisione.org/apps.html#hg-purge

Can this be useful for other people?

-- 
Marco Barisione
http://www.barisione.org/


More information about the Mercurial mailing list