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

Re: properties or config file to setup special folder permission on deployment? svn WC hacking API

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-09-21 20:16:07 CEST

On 9/21/07, Sylvain Viart <sylvain.viart@easyrencontre.com> wrote:
> Hi Erik.
>
> Erik Huelsmann a écrit :
> > http://svn.collab.net/repos/svn/trunk/subversion/include/svn_wc.h
> >
> >> I started but it's far to be obvious what to do with this API.
> >>
> >> I've found this link
> >> http://people.apache.org/~rooneg/talks/version-control/version-control.htm
> > I don't think hacking straight in the wc code will be faster than
> > using 'svn pg -R .', which gets (and prints) all properties on all
> > targets in the working copy. It's the C version of what you'll be
> > writing in perl..
> Hum
>
> in fact if I hack directly the wc, but with the API, I can skip files
> and treat only folder for example :
>
> trunc/sylvain$ find -type d | grep -v \.svn | wc -l
> 1106
>
> trunc/sylvain$ find ! -type d | grep -v \.svn | wc -l
> 8404
>
> I just need to find example of the code, actually I don't know if I need
> to create a pool an svn_client an svn_wc_entry, and adm_access
>
> or something... :-(

Have you read:
http://svnbook.red-bean.com/en/1.4/svn.developer.usingapi.html ?

Also, for reference works, you can use
http://svn.collab.net/svn-doxygen/
http://apr.apache.org/docs/apr/trunk/
and http://apr.apache.org/docs/apr-util/trunk/

You could try reading http://subversion.tigris.org/hacking.html too.

HTH,

Erik.
Received on Fri Sep 21 20:16:38 2007

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