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

Re: ignore not recursive to subdirectories

From: <cmpilato_at_collab.net>
Date: 2003-05-02 15:43:13 CEST

Ben Collins <bcollins@debian.org> writes:

> On Thu, May 01, 2003 at 11:17:17PM -0400, Faheem Mitha wrote:
> >
> >
> > On Fri, 2 May 2003, John Barstow wrote:
> >
> > > You can pass the -R switch to propogate svn:ignore recursively.
> >
> > I tried this with propedit, but it didn't work.
> >
> > faheem ~/co/s31/trunk/exam>svn propedit -R svn:ignore .
> >
> > Error: subcommand 'propedit' doesn't accept option '-R [--recursive]'
> >
> > Hmm. Looks like propset does accept the -R flag. If I am using propedit to
> > set svn:ignore, what is the best way of using propset (or otherwise) to
> > propagate it recursively to subdirectories? Thanks.
>
> Edit a file with the properties, save it as "mysvn-ignore" for example,
> and do:
>
> svn propset svn:ignore -F mysvn-ignore -R .

Actually, svn:ignore on files is kinda useless. You're really looking
more for something like:

find . -type d | grep -v '.svn/' | xargs svn propset svn:ignore -F mysvn-ignore

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 2 15:44:13 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.