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

Re: [Issue 3941] svn:ignore on an svn:externals directory

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 29 Jun 2011 16:00:04 +0300

Chris A Mattmann wrote on Tue, Jun 28, 2011 at 20:54:13 -0700:
> Hi Daniel,
>
> On Jun 28, 2011, at 4:45 PM, Daniel Shahaf wrote:
>
> >>
> >> Yeah something like this is what I was thinking about with Greg. Like wouldn't
> >> it be nice if I could define something like:
> >>
> >> property: svn:external-ignores:foodir
> >> value: *.pyc
> >>
> >> Then when pulling in an svn:external named foodir, we could check to see if this
> >> property was defined and then filter on incoming files using the svn:ignore
> >> value for it.
> >>
> >
> > Or
> >
> > svn propset svn:ignore 'external-dir/*.pyc' ./
> >
> > (which nicely parallels the fact that svn:externals can be set at
> > a non-immediate parent)
>
> Yep, +1, this would be cool. Any pointers in the right direction and I might even be able to dust off some of my C skillz to make it happen (not anytime soon, but would be willing to try). Where would I even start?
>

The right libraries are libsvn_client and libsvn_wc. (The latter has
been undergoing a massive rewrite in the last year+.) Look for
functions that handle SVN_PROP_IGNORE and SVN_PROP_EXTERNALS.

Feel free to pop on IRC (#svn-dev on freenode) if you have any
questions.

> Thanks for any help.
>
> Cheers,
> Chris
>
>

Daniel
(sorry for giving a non-specific pointer; I don't know the wc library
well enough by heart)
Received on 2011-06-29 15:00:45 CEST

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.