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

[RFC] Concept of RA session relative paths

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Tue, 13 Oct 2009 18:12:47 +0400

Hi,

Could you please someone explain me what's the purpose of session
relative path in Subversion RA API?
In svn_ra_lock for example:
[[[
svn_error_t *
svn_ra_lock(svn_ra_session_t *session,
            apr_hash_t *path_revs,
            const char *comment,
            svn_boolean_t steal_lock,
            svn_ra_lock_callback_t lock_func,
            void *lock_baton,
            apr_pool_t *pool);
]]]

Usage of session relative paths causes code burden in libsvn_client in
situation when user has access to part of repository without access to
repository root (or some common ancestor). We have to detect common
ancestor, reparent sessions in many places and etc.

So questions is: why we don't use repository root relative or full
url? This change will similar like we switched to absolute paths in
WC-NG. Did I miss something?

-- 
Ivan Zhakov
VisualSVN Team
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2407109
Received on 2009-10-13 23:14:41 CEST

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.