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

Re: problems copying and removing a directory

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-09-06 15:58:20 CEST

Philip Martin <philip@codematters.co.uk> writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
>
> > or do an 'svn switch' of the working copy to the new location.
>
> That doesn't work
>
> $ svnadmin create /tmp/repo
> $ svn mkdir http://localhost/tmp/repo/foo
> $ svn co http://localhost/tmp/repo/foo wc2
> $ svn mv http://localhost/tmp/repo/foo http://localhost/tmp/repo/bar
> $ svn sw http://localhost/tmp/repo/bar wc2
> ../svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
> svn: Filesystem has no item
> svn: REPORT request failed on /tmp/repo/foo
> ../svn/subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
> svn:
> file not found: revision `2', path `/foo'
>
> Is there any reason why we can't make this work?

No, it should work AFAIK. Can you file this as an ra_dav bug, because
I just tried the same scenario with ra_local, and it works fine.

Hmmm, actually, scratch that. I've got a totally different error now:

[standard greek tree in wc]
$ cp -R A/D ..
$ svn mv A/D A/BOO
$ svn ci
$ cd ../D
$ svn up
svn: Filesystem has no item
svn: file not found: revision `2', path `/A/D'

$ svn switch file://home/sussman/projects/test/repo/A/BOO .
svn: Bad URL passed to RA layer
svn: '/home/sussman/projects/test/repo'
is not the same repository as
'//home/sussman/projects/test/repo'

That's bizarre... some new path bug? I'm using r3137.
This didn't happen to you, Philip?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 6 16:00:29 2002

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