subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@apache.org>
Subject Re: How to open specified inside .svn
Date Fri, 01 Mar 2019 09:16:40 GMT
On 01.03.2019 04:58, wuzhouhui wrote:
>> -----Original Messages-----
>> From: "Ralph Seichter" <abbot@monksofcool.net>
>> Sent Time: 2019-03-01 11:46:52 (Friday)
>> To: users@subversion.apache.org
>> Cc: 
>> 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.

-- Brane


Mime
View raw message