[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-09-06 03:47:02 CEST

"Dylan Cuthbert" <dylan@q-games.com> writes:

> Sorry anyway, after checking out both trees I svn cp'd blob from
> repo/john/blob to repo/john/blob2 and then svn rm --force'd repo/john/blob -
> the reason I used force is because I had non-repository files in there left
> over from a compile. Does the force has adverse side-effects?
>
> After doing this when I try to commit or update the "other" blob directory
> (1376) I get the error below.

Are you deleting the root of one working copy?

$ svnadmin create /tmp/repo
$ svn mkdir http://localhost/tmp/repo/foo
$ svn co http://localhost/tmp/repo wc1
$ svn co http://localhost/tmp/repo/foo wc2
$ svn mv wc1/foo wc1/bar
$ svn ci wc1
$ svn up 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'

A working copy cannot be updated to a revision that deletes it's root.
What would you expect the updated working copy to look like? You
cannot commit from such a working copy either.

$ svn mkdir wc2/zig
$ svn ci wc2
../svn/subversion/libsvn_client/commit.c:660: (apr_err=160013, src_err=0)
svn: Filesystem has no item
svn: Commit failed (details follow):
../svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
svn: OPTIONS 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'

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 6 03:47:39 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.