[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: Blair Zajac <blair_at_orcaware.com>
Date: 2007-10-18 07:30:42 CEST

eric 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]

Just do

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

What do you mean by "update the repository"? Doing a commit won't push any new
build files to the server since they are unversioned files, so you don't need to
ignore them.


Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
Subversion training, consulting and support
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 18 07:31:22 2007

This is an archived mail posted to the Subversion Users mailing list.