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

RE: How to set svn:ignore automatically in all subdirs?

From: <nicklist_at_planet.nl>
Date: Wed, 20 Feb 2008 09:39:32 +0100

I would try to set the output directory of your compiler to another directory and exclude that whole tree in one. Like Maven does with Java projects:

project
  `- src
      `- java
  `- target
      `- classes

In this way you can exclude the whole target directory from your Subversion repository without ever having to set multiple svn:ignore properties.

Hth,

Nick Stolwijk

-----Original Message-----
From: Andreas Benzler [mailto:info.benzler_at_gmx.de]
Sent: Wed 2/20/2008 09:37
To: users_at_subversion.tigris.org
Subject: How to set svn:ignore automatically in all subdirs?
 
Hi list

I am having a litle problem with a new repository. I did an import of the stuff that should reside in the repo. After compiling I get of course a lot of binarys and files I did not have before. I want to mark them with svn:ignore in the subdir they reside in. It is a bit of a hassle to go into each directory and do a svn st to see which files are unknown to subversion and do a svn propset svn:ingnore to them that I get a clean svn st in the end.
Is there an elegant way for doing this? Like a little script that parses all subdirs and adds the properties to these dirs? Before I am writing my own skript (linux) I would like to know if some one out there already did and could share the knowledge or if I missed something that comes already with subversion.

Regards

Andreas Benzler

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-20 09:42:00 CET

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.