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

Re: error on delete

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-12 23:23:09 CEST

On May 12, 2006, at 23:14, Mark Gibson wrote:

> so i went to make my first tag in svn and I see the way its done is
> to have both
> a trunk and tags directory. So I made a trunk directory and am
> trying to move
> directories into it. So I started with my doc directory, and I
> think the error I
> made was that I issued a "svn move doc trunk" and then an "svn
> delete doc" and
> then aaa svn commit (woops) and this seems to have flumoxed svn or
> at least me.

Yes, after moving it, you should not have tried to delete it from the
previous location. Perhaps you got the idea that you needed to do
this because the "doc" directory remained in the old location, and
also appeared in the new location. In fact, the old "doc" directory
should now be empty except for the .svn directory and its contents,
which are required for Subversion to keep track of its impending
doom. Once you commit the move, the old "doc" directory will go away.

Assuming you have not been able to commit this yet, you still have a
move and a deletion scheduled in the working copy. The move is what
you want to do. The delete is not. You should undo the scheduled
deletion, which is done by saying "svn revert doc". Then the only
thing scheduled should be the original move, which should now be able
to succeed.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 12 23:24:36 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.