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

RE: Re: set svn:ignore on all unversioned files

From: <nick_stolwijk_at_planet.nl>
Date: 2007-10-18 08:14:30 CEST

You could also try to stay with the Maven principles and try building to another directory. I.e. When you check your project out all source files are under /src/main/java and you build to /target/classes. This way you only have to set an svn:ignore on your root directory to ignore the target folder.

Hth,

Nick Stolwijk

-----Original Message-----
From: Blair Zajac [mailto:blair@orcaware.com]
Sent: Thu 10/18/2007 7:30 AM
To: eric
Cc: users@subversion.tigris.org
Subject: Re: set svn:ignore on all unversioned files
 
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.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 18 08:16:30 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.