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

Re: Un-removing a directory

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-06-03 06:13:14 CEST

On Tue, 2004-06-01 at 22:14, Dave Salmon wrote:
> Hi,
>
> I'm new to subversion, and I have removed a directory (and committed the
> remove).
> Now, I'd like to get it back. The log shows:
>
> ------------------------------------------------------------------------
> r64 | dsalmon | 2004-06-01 17:36:03 -0700 (Tue, 01 Jun 2004) | 1 line
> Changed paths:
> D \dcsTest\testDir
>
> So, from reading the docs the obvious thing is
>
> svn copy -r 63 http:/server-path/dcsTest/testDir testDir
>
> Where I am at dcsTest in my WC.
>
> However, all I get is
>
> svn: Working copy '.' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> details)
>
> The directory testDir is created, and has a .svn folder. However, theres
> no file in it.
>
> If I svn copy -r 63 http:/server-path/dcsTest/testDir tmp
>
> Then it works properly, and creates the tmp directory with the files in
> it.
>
> Any ideas?

Oops, sorry for not seeing this mail first, Dave.

My guess is that you're hitting issue 1769. My guess is that you ran
something like

svn del testDir
svn commit
svn cp -r63 URL/testDir testDir
...error...

Try adding an 'svn up' after the commit. That should work around the
problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 3 16:16:16 2004

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.