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

Re: set svn:ignore on all unversioned files

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-10-17 23:11:31 CEST

On 10/17/07, eric <spamsink42@gmail.com> wrote:
> Hello,
>
> How do I tell subversion to ignore all unversioned files in the working copy?
>
> I import a source code tree. Then I check out the new code and run a
> build. Then I run 'svn status' and it shows hundreds of ? files. I
> haven't changed any versioned files, all of these unversioned files
> are incidental files from the build and should be ignored. The only
> way I know to ignore them is to do...
>
> svn propedit svn:ignore [directory]
>
> ... for every directory in the tree, each time adding in the list of
> unversioned files in that directory.
>
> What I want to do is to cd to the root of the source tree and issue
> some command that tells svn to update the repository such that every
> unversioned file in the working copy is ignored, how do I do that?

Would it be possible to rework your build process some to output
everything to a separate directory? For example, my application's
build script puts everything into a build directory which is a child
of the trunk (I check out the trunk, then build). Then I just set
svn:ignore build on trunk, and the whole mess is ignored in one shot.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 17 23:22:58 2007

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.