hg purge

Marco Barisione barisione at gmail.com
Tue May 16 06:25:40 CDT 2006


e8nwt4002 at sneakemail.com wrote:
> Marco Barisione wrote:
>> 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.
>> [...]
>> Mercurial does not have a similar feature so I wrote an extension for it
>> that behaves like cvspurge.
> 
> Why not use
>    hg status -i -u -n -0 | xargs -0 rm

It does not remove empty dirs.

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


More information about the Mercurial mailing list