You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Toby Johnson <to...@etjohnson.us> on 2004/10/01 20:31:07 UTC

"svn copy URL WCPATH" when WCPATH exists

If I have a file in a WC "/my/wc/foo.c", then "svn delete" that file, 
and try to "svn copy http://some/other/foo.c /my/wc/foo.c", I get the 
error "Entry for '/my/wc/foo.c' exists (though the working file is 
missing)".

If I skip the "svn delete", I get "File /my/wc/foo.c already exists".

Is there a way to delete a file from a WC, then "svn copy" it from 
somewhere else, without commiting in between?

(Yes, I realize I can do a merge, or simply do an OS copy of the file to 
the new location, but I'd rather use svn copy so that /my/wc/foo.c 
retains the entire history of the new place it was copied from).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org