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

Re: svn switch to move between servers

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-09-17 19:20:16 CEST

On Tue, Sep 17, 2002 at 01:59:05PM +0100, Philip Martin wrote:
> Philip Martin <philip@codematters.co.uk> writes:
>...
> > Heh, that's a bug! It works using ra_local, but ra_dav produces
> >
> > $ svn info wc | grep Url
> > Url: http://localhost:8888/tmp/repo/trunk
> > $ svn st wc
> > A + wc/bar
> > D wc/foo
> > $ svn sw http://localhost:8888/tmp/repo/branch wc
> > ../svn/subversion/libsvn_wc/adm_files.c:754: (apr_err=155010, src_err=0)
> > svn: Can't find a working copy path
> > svn: open_props: path 'wc/foo' not found
>
> (gdb)
> #4 0x4009e19e in end_element (userdata=0x8087a38, elm=0x400a5150,
> cdata=0x8089038 "/tmp/repo/!svn/ver/3/branch/foo")
> at ../svn/subversion/libsvn_ra_dav/fetch.c:1929
> 1929 rb->ras->pool) );
> (gdb) p rb->current_wcprop_path
> $1 = 0x8098690 "foo"
> (gdb)
>
> Looking in libsvn_ra_dav/fetch.c:end_element I see
>
> /* ### I *think* we have to remove any old
> version-url-rev when we set a new version-url here.
> Not totally sure, though, hoping dav-savvier eyeballs
> than mine will see this and know the answer... */
> CHKERR( rb->ras->callbacks->set_wc_prop
> (rb->ras->callback_baton,
> rb->current_wcprop_path,
> SVN_RA_DAV__LP_VSN_URL_REV,
> NULL,
> rb->ras->pool) );
>
> So it's trying to remove version-url-rev on a file that is scheduled
> for deletion.

That version-url-rev thing is temporary bogosity. Removing it is pending
your work on the access baton.

See: http://subversion.tigris.org/issues/show_bug.cgi?id=806

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 17 19:20:32 2002

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.