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

Re: Problem ressurectiing a project trunk

From: Dominic Anello <danello_at_danky.com>
Date: 2004-10-26 13:58:12 CEST

On 2004-10-26 11:45:29 +0100, David Balch wrote:
> 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:
----8<----

Try just doing the following:
svn cp -r 483 http://server/short-courses/trunk http://server/short-courses -m "Restoring /trunk"

Replace http://server with whatever the appropriate access method is for
your repo.

-Dominic

-- 
Current soundtrack: 'Muddy Waters - Fathers And Sons - 2 - Mean
Disposition'

  • application/pgp-signature attachment: stored
Received on Tue Oct 26 13:56:49 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.