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

Re: How to get prop path for SVN_WC_THIS_DIR?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-01 18:53:10 CEST

Ivan Zhakov <chemodax@gmail.com> writes:

> On 10/1/05, Philip Martin <philip@codematters.co.uk> wrote:
>> Ivan Zhakov <chemodax@gmail.com> writes:
>> > Why we need interpret things that just joined? Why our wc code wories
>> > about slash characters?
>> I don't know, I didn't write that bit of code. Perhaps you could
>> write a new function svn_wc__relative_prop_path, and get rid of it
>> altogether?
> It's seems acceptable solution for me, but is it not burden to have
> another three functions svn_wc__relative_prop_path,
> svn_wc__relative_base_prop_path, svn_wc__relative_revert_path() ? (Of
> course all will be implemented using internal mega helper
> prop_path_internal)

The alternative is the single function that provides what you want.
It doesn't have to use exactly the same code as before, perhaps it
could be implemented in terms of svn_path_ functions: decompose, look
for an admin dir component, drop everything before the admin dir, and
join the rest.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 2 04:07:44 2005

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

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