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