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

Re: Two step folder rename...

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 11 Jun 2010 23:04:02 +0100

On 11 June 2010 22:46, BRM <bm_witness_at_yahoo.com> wrote:
> I had accidentally deleted a folder in my repo today, which I then tried to restore in a single step copy; however, TSVN wouldn't let me.
> I think this is just UI thing - that it may need to be smarter to realize it is pulling from the history and that it can use the same at the latest revision.
>
> I ended up doing a two step - naming the copy as something else, then renaming it to what I really wanted it to be.
>
> Here's what I did:
>
> 1. Opened the TSVN Repo Browser
> 2. Set the it to look at an older revision
> 3. Found the folder I wanted to restore, right-clicked on it and selected 'Copy to...'
> 4. The dialog that came up had the OK disabled until I set a different name in - so I appended ".restored"
>
> This restored it, but then i had to do a rename to remove the ".restored" from the name.
>
> It should be reasonable enough to expect that if you are copy from history that the URL may be the same as the source URL - or perhaps have a "restore" checkbox that can be used.
>
> Or did I do something wrong for TSVN?

I just tried this and it doesn't recover as gracefully as I would
hope. My first attempt was to use revert, but that fails for a folder.
Next I looked in the CfM dialog hoping to find something in the
context menu, like Update or Update-to-Revision, but there is nothing
there that would help.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2619856
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-06-12 00:04:11 CEST

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

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