Re: How to open specified inside .svn
On 01.03.2019 04:58, wuzhouhui wrote:
>> -----Original Messages-----
>> From: "Ralph Seichter" <abbot_at_monksofcool.net>
>> Sent Time: 2019-03-01 11:46:52 (Friday)
>> To: users_at_subversion.apache.org
>> Subject: Re: How to open specified inside .svn
>> * wuzhouhui:
>>> Could someone remind me that which function can be used to open
>>> .svn/Adir/Afile in client?
>> I'm not sure I understand what you are trying to achieve? The .svn
>> directories (and contents) should not be accessed directly. That's what
>> the SVN client is for.
> I want svn to support working copy hooks (just for my own use), so I want
> svn to execute .svn/hooks/pre-commit if possible. I want to know which
> functions can be used to open and execute .svn/hooks/pre-commit.
There are no such generic functions. The svn_wc API isn't really meant
to be public, so you'll have to write your own access functions. Look at
how the svn_client implementations do it, or for example
svn_wc__get_pristine_contents_by_checksum in svn_wc_private.h.
Received on 2019-03-01 10:16:51 CET
This is an archived mail posted to the Subversion Users