You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by frame <xs...@yahoo.com> on 2012/04/06 15:17:46 UTC
How to set the *same* ignore properties in many directories?
Hi:
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.
Thank you very much.
AW: How to set the *same* ignore properties in many directories?
Posted by Markus Schaber <m....@3s-software.com>.
Hi,
Von: Ryan Schmidt [mailto:subversion-2012a@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
Re: How to set the *same* ignore properties in many directories?
Posted by Ryan Schmidt <su...@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.