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

Problem ressurectiing a project trunk

From: David Balch <david.balch_at_continuing-education.oxford.ac.uk>
Date: 2004-10-26 12:45:29 CEST

Hi,

I'm having a problem resurecting a directory that was mistakenly deleted.
At rev 483, the project "short-courses" is in my repository, with branches,
tags and trunk subdirectories.

Rev483:
 short-courses
  + branches
  + tags
  + trunk

Somehow, the trunk got deleted in the next revision. No changes have been
committed since then.

Rev484 (HEAD):
 short-courses
  + branches
  + tags

Looking at the book [0], copying the trunk from the previous revision looks
like the way to go, but svn tells me the working copy is locked - even
though it's a fresh checkout. Here's what happens:

-----------EXAMPLE START-----------

BalchD@rowlf /cygdrive/d/wc
$ svn co svn://bongo/subversion/short-courses short-courses
<SNIP FOR BREVITY>
Checked out revision 484.

BalchD@rowlf /cygdrive/d/wc
$ cd short-courses

BalchD@rowlf /cygdrive/d/wc/short-courses
$ svn cp -r483 svn://bongo/subversion/short-courses/trunk ./trunk
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

-----------EXAMPLE END-----------

At this point it has created a "trunk" directory, but isn't sure whether
it's in ther repository or not:

-----------EXAMPLE START-----------

BalchD@rowlf /cygdrive/d/wc/short-courses
$ svn info trunk/
Path: trunk
URL: svn://bongo/subversion/short-courses/trunk
Repository UUID: 40e514c9-7dcd-b44f-87da-b444ffc43b05
Revision: 483
Node Kind: directory
Schedule: normal

BalchD@rowlf /cygdrive/d/wc/short-courses
$ svn st trunk/
? trunk

-----------EXAMPLE END-----------

Any ideas why this isn't working?

I'm using Subversion 1.0.9 via Cygwin on WinXP SP2

[0] http://svnbook.red-bean.com/svnbook-1.0/svn-book.html#svn-ch-4-sect-4.3

Cheers,
Dave.

-- 
David Balch.          | Web developer.
T: +44 (0)1865 286932 | Technology-Assisted Lifelong Learning.
F: +44 (0)1865 286922 | University of Oxford.
E: david.balch@conted.ox.ac.uk
TALL, OUDCE and the University of Oxford accept no legal responsibility for
the contents of this message. Any views or opinions presented are only those
of the author and not those of TALL, or OUDCE, or the University of Oxford.
If this email has come to you in error please delete it and any attachments
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 26 12:40:00 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.