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

RE: Accidentally deleted main trunk in repository

From: Robert Lewis <robert.lewis_at_imnmicrocontrol.com>
Date: Wed, 18 Aug 2010 14:40:15 -0700

Hi Wolf

Thank you for the steps but I have tried but it will not work. I get an
error saying that

Error File not found: revision 75, path '/trunk'

I get this when I try to use just one version or the two, 74,75.

Robert

-----Original Message-----
From: Wolf Peuker [mailto:peu_at_rekoba.de]
Sent: Wednesday, August 18, 2010 12:34 AM
To: users_at_tortoisesvn.tigris.org
Subject: Re: Accidentally deleted main trunk in repository

Hi Robert,
I'm not sure if I fully understand Daniel's suggestion, maybe its only a
short cut to the merge procedure I describe below.

Am 18.08.2010 08:40, schrieb Daniel Becroft:
>
> If you can see an entry in the Log for the deletion of /trunk, then
> you have committed the delete.
>
> To restore /trunk:
> 1) Open the repository browser to the last good revision (r73) in your
case.
> 2) Right-click on /trunk in the tree-view, and select "Copy to ...".
> 3) In the New name field, change the name (and then back again) to
> enable the OK button.
> 4) Click OK. Enter a log message, and Click OK.
>
> /trunk will now be available in HEAD, with history.
>
> Cheers,
> Daniel B.

From my point of view you have to merge
all changes between r73 and r75 in reverse order.

* right-click the mouse on the root folder of your working copy
* select "TortoiseSVN > Merge..." and the Merge dialog opens
* check [*] Merge range of revisions, [Next >]
* Edit "URL to merge from" should contain trunk
  (change or select by browsing)
* "Revision range to merge" enter here 74-75 (yes! r74 and r75)
  or select the last two changes by browsing, click [Show log]
* check [*] Reverse merge, [Next >]
* (do a [Test merge] if you want)
* [Merge]

Now you have a working identically to the r73 revision ready for commit.
Do the commit entering a good log message and you're done. (now at r76)

Best Regards,
Wolf

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2
648132

To unsubscribe from this discussion, e-mail:
[users-unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2648439

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-08-18 23:44:12 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.