Return to Snippet

Revision: 34623
at October 26, 2010 04:45 by jonathanpglick


Initial Code
hg status -u -0 | xargs rm

Initial URL


Initial Description
the -u flag only lists items that are "unknown", -0 prepares the filenames for xargs.

xargs then runs "rm" on each of the listed files.

Initial Title
Remove untracked files from Mercurial repository

Initial Tags


Initial Language
Bash