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

RE: Renamed folder

From: Scott Pritchett <pokerlad_at_gmail.com>
Date: 2007-01-04 01:22:47 CET

I assume you've already thought of this, but why not keep a limited sized
log file that you can request people send you with their problem so you
always know 'exactly' how daft they've been.

Scott

-----Original Message-----
From: Stefan Küng [mailto:tortoisesvn@gmail.com]
Sent: 03 January 2007 5:57 PM
To: users@tortoisesvn.tigris.org
Subject: Re: Renamed folder

Dmitry Shechtman wrote:

> I just renamed a folder using 1.4.0. Although the folder appears
> subversioned in the shell, it’s been completely deleted from the
repository!

I think this is what you did:

* rename folder 'folder' to 'folder_renamed' with explorer only, not using
the proper svn command.
* commit from the parent folder.
--> since you've renamed the folder without telling Subversion about it,
the original folder was shown in the commit dialog as "missing". When you
committed, Subversion automatically removed that folder (i.e. did a proper
'delete' of it, because it was missing).

The renamed folder still appears to be versioned, because it still contains
the (hidden) .svn folder. Which means you now have basically what's called a
'nested layout' in your working copy.

To recover from this:
* move the renamed folder somewhere safe, outside the working copy
* show the log dialog for the parent folder
* you will see a (maybe the last) commit where the original folder got
deleted.
* right-click on that revision (top pane of log dialog), chose "revert
changes for this revision"

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jan 4 01:23:00 2007

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.