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

Re: How to open specified inside .svn

From: Branko Čibej <brane_at_apache.org>
Date: Fri, 1 Mar 2019 10:16:40 +0100

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
>> 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
Received on 2019-03-01 10:16:51 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.