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

svn copy not working to resurrect directory

From: John Calcote <john.calcote_at_gmail.com>
Date: Tue, 13 Oct 2009 16:46:49 -0600

Hi all,

A committer in one of my projects deleted a directory in the project.
Then, realizing the mistake, added it back in from a working copy he had
on his hard drive. This effectively wiped out the history on every file
in that directory. Now, I'd like to put it back with history. Here's
what I try to do:

$ svn copy https://localhost/svnroot/projectx/trunk/mydir@305 .
svn: Path 'mydir' already exists

If I try to delete mydir and then repeat the operation, I get an error
that the working copy is locked. If I delete mydir and run svn cleanup
first, then run the copy command, I still get the error that the working
copy is locked.

Help! The manual shows how to do this for a single file, but it doesn't
discuss the nuances of doing it with a complete directory. Nor does it
discuss what to do if the directory exists because it was recreated in a
later revision.

Thanks,
John

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407349

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-14 00:48:17 CEST

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.