[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: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-17 22:11:10 CEST

On Oct 17, 2007, at 13:29, eric wrote:

> 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.

That's what you'll have to do.

> 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?

I don't think there's anything like that built-in. You may be able to
write a script, or find an existing script that does this, but it's
not part of Subversion.

---------------------------------------------------------------------
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:10:52 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.