You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sylvain Viart <sy...@easyrencontre.com> on 2007/09/21 07:34:15 UTC
Re: properties or config file to setup special folder permission
on deployment? svn WC hacking API
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... :-(
regards,
Sylvain.
--
Sylvain Viart | Responsable d'exploitation | EasyflirtPartners.biz
Direct:+33 1 77 35 34 20 | std:+33 1 77 35 34 17 | gsm:+33 6 62 79 85 53
2L Multimedia SAS, Park Nord, Les Pléiades #33, 74370 Metz-Tessy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: properties or config file to setup special folder permission on deployment? svn WC hacking API
Posted by Erik Huelsmann <eh...@gmail.com>.
On 9/21/07, Sylvain Viart <sy...@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.