[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: Updating the working copy for a continuous build process

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-08-08 22:10:27 CEST

> -----Original Message-----
> From: Adrian Howard [mailto:adrianh@quietstars.com]
>
> On 8 Aug 2006, at 17:03, Chris Lambrou wrote:
> [snip]
> > (1) delete any local files not subject to version control
> (erases any
> > intermediate and output files generated by the previous build)
> can anyone
> > please suggest how I might implement step (1)?

Do the revert, then run:
        svn status | grep '^?' | xargs -n 1 -i rm -rf "{}"
Run 'svn status' again and verify that it returns an exit code of zero
and returns no text output.

If you're scared about "xargs ... rm -rf" then run
        svn status | grep '^?' | xargs -n 1 -i echo rm -rf "{}"
to preview what it will do.

You can also run 'svnversion' to see if your workspace is clean or not.
(svnversion, not 'svn version')

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. 162

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 8 22:12:19 2006

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.