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

AW: How to set the *same* ignore properties in many directories?

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Tue, 10 Apr 2012 07:41:31 +0000

Hi,

Von: Ryan Schmidt [mailto:subversion-2012a_at_ryandesign.com]
> On Apr 6, 2012, at 08:17, frame wrote:
>
> > I want to add svn:ignore properties which ignores directory "abc_dir". I
> know how to do it. My difficulty here is that our file structures is like
> the following:
> >
> > a/b/abc_dir/1.txt
> > z/x/abc_dir/..
> > m/n/abc_dir/..
> > ...
> > z100/x100/abc_dir/..
> >
> > There are about 100 of them. I cannot do it one by one. Is there a
> better way to do it?
> >
> > I know I can do it in .subversion/config global-ignore properties. But
> that only affects my local area. It is better for every one in our team to
> have it.
>
> Write a script to set the property on each directory.

Using svnmucc (or the language bindings for your preferred scripting language), you might even write the script to work without a local checkout of the whole structure, and using a single transaction.

Best regards

Markus Schaber

-- 
___________________________
We software Automation.
3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50
Email: m.schaber@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects
Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 
Received on 2012-04-10 09:42:15 CEST

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.