[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: Dylan Cuthbert <dylan_at_q-games.com>
Date: 2002-09-06 05:12:47 CEST

Maybe I'm simply having trouble grasping the concepts involved. (coming from
cvs and not used to this ability to copy directories around)

Surely, the svn client should recognise that the directory has been deleted
and simply tell me that? If the directory has been mv'd then it'd be nice
if it told me where it was last moved. As it stands, a remote user wouldn't
know where to begin to fix the error. What is the correct "official" course
of action in such a case?

Regards

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com
P2P internet radio - http://www.peercast.org

"Philip Martin" <philip@codematters.co.uk> wrote in message
news:878z2f7uuh.fsf@codematters.co.uk...
> "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
>
>

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