RE: Feature request - SVN command to clean a working copy of all unversioned and ignored files and directories
From: Simon Dean <Simon.Dean_at_moneysupermarket.com>
Date: Fri, 9 Mar 2012 15:03:18 +0000
> From: Giulio Troccoli [mailto:giulio.troccoli_at_mediatelgroup.co.uk]
A CI implementation would have to implement it specifically each VCS as it would have to call the VCS to found out what files/directories are unversioned and ignored.
Interestingly TortoiseSVN also implements the same feature (as Bob Archer highlights). This is a good example of the same feature being used for non-CI purposes. Unfortunately the TortoiseSVN implementation is both Windows specific and not available from the command line.
It is helpful though to see how TortoiseSVN describes the feature (quoted from http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-cleanup.html)
Delete unversioned files and folders, Delete ignored files and folders
This is a fast and easy way to remove all generated files in your working copy. All files and folders that are not versioned are moved to the trash bin.
Note: you can also do the same from the TortoiseSVN $B"*(B Revert dialog. There you also get a list of all the unversioned files and folders to select for removal.
-----------------------------------------------------------------------------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.