hgpurge: a cvspurge for mercurial
Matt Mackall
mpm at selenic.com
Fri Aug 26 12:51:33 CDT 2005
On Thu, Aug 25, 2005 at 10:32:28PM +0200, Emanuele Aina wrote:
>
> In CVS-land is often used a small script contained in the cvsutil
> package called cvspurge.
>
> It's function is to clean the working copy from every file not under the
> control of the SCM.
>
> It is commonly used because "make clean" always leave behind some cruft
> (temporary files used during the build).
>
> This is a trivial script which gets the list of unknown files from
> mercurial and deletes them.
You might also be able to do this with:
hg status -u | xargs rm
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list