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

Re: [merge tracking] WC -> repos 'copy'/'move' operations (r23423)

From: Peter Lundblad <plundblad_at_google.com>
Date: 2007-02-21 11:44:07 CET

Daniel Rall writes:
> This commit makes copy test #11 fail over ra_dav on the merge-tracking
> branch. I'm greeted by the error:
>
> subversion/libsvn_ra_dav/util.c:1198: (apr_err=175007)
> svn: REPORT request failed on '/svn-test-work/repositories/copy_tests-11/!svn/bc/1/A/D/H2'
> subversion/libsvn_ra_dav/util.c:462: (apr_err=175007)
> svn: '/svn-test-work/repositories/copy_tests-11/!svn/bc/1/A/D/H2' path not found
>
> The H2 directory exists:
>
> $ svn ls http://localhost:19742/svn-test-work/repositories/copy_tests-11/A/D
> G/
> H/
> H2/
> gamma
>
> This is apparently a problem with the combination of ra_dav session
> and path being passed to svn_ra_get_log(). I'm opening the session to
> the URL:
>
> http://localhost:19742/svn-test-work/repositories/copy_tests-11/A/D/H2
>
> ...then trying to use a path like "/A/B/E/beta" in the PATHS argument

I'm not sure we really support absolute path names in the RA session calls.
That's what svn_ra_reparent is for.

> 1) Why this works differently over ra_dav?
>

That's a good question. Reading the docs in svn_ra.h, I don't see any support
for using absolute repos paths.

> 2) What is a good way to calculate the appropriate path (given a WC
> source path)?
>
Can you reparent the session (or maybe open the repository root if known)?

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 21 11:44:34 2007

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