[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: Dave Salmon <dsalmon_at_Equilibrium.com>
Date: 2004-06-03 13:19:32 CEST

Ben,

Thanks for the tip, but adding svn up after the commit does not change
the behavior.

svn del testDir
svn commit
svn up
svn cp -r63 URL/testDir testDir
  svn: Working copy '.' locked
  svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)

The directory 'testDir' get created, and has the .svn direcotry but no
files.
Also, running svn cleanup at this point does not help.

If I run svn status in the parent directory I get
? testDir

If I go into testDir and run svn up
I get
svn: REPORT request failed on '/svn/!svn/vcc/default'
svn: REPORT of '/svn/!svn/vcc/default': Could not read chunk size:
Secure connection truncated (https://servername)

Dave S.

> -----Original Message-----
> From: Ben Collins-Sussman [mailto:sussman@collab.net]
> Sent: Wednesday, June 02, 2004 9:13 PM
> To: Dave Salmon
> Cc: users@subversion.tigris.org
> Subject: Re: Un-removing a directory
>
> 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.
>
>
> ------------------------------------------------------------
> Mail was checked for spam by the Freeware Edition of No Spam Today!
> The Freeware Edition is free for personal and non-commercial use.
> You can remove this notice by purchasing a full license! To
> order or to find out more please visit: http://www.no-spam-today.com
>
>

---------------------------------------------------------------------
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:58:14 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.