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

Re: toroiseSVN switch command deleted an entire directory in my repository

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-11-08 20:46:42 CET

paul steinke wrote:
> I created a new branch (using Tortiose Help 5.16) called
> https://svn.karta.com/svn/tracker/FleetRADAR/fleetradarV1.0 with the response:
> Completed At revision 1024
>
> Then I created a second new branch called called
> https://svn.karta.com/svn/tracker/FleetRADAR/fleetradarV2.0 with the response:
> Completed At revision 1025
>
> Then using switch (TortoiseSVN Help 5.16.2) I get the response:

To what URL did you switch to?

> Restored C:\subversion\baseline-May-8-2006\Reports\bases.jsp
> Deleted C:\subersion\fleetradarV0.1
> Deleted C:\subversion\0000.0000fleetradarV0.0.tar
> Error Won't delete locally modified directory 'C:\subversion'
> Error File 'C:\subversion\May-8-2006-Baseline\java\...' has local modifica
> TortoiseSVN switch Finished!
> 1kBytes transfered
> Deleted: 2 Restored: 1
>
> --------------------------------------------
> ------------- Question 1: ------------------
> --------------------------------------------
> THE SWITCH COMMAND SOULD NOT DELETE SUBVERSION DIRECTORIES, RIGHT? I had
> commited all my changes to this directory, and wanted to use this as the
> starting point for further development.

Sure it has to delete directories! If you switch to an URL where that
directory doesn't exist anymore, it *must* delete it. Otherwise your
working copy wouldn't reflect that url at all, and you could e.g.
compile a project even if others can't (if they don't have the same
folders as you had before the switch).

> --------------------------------------------
> ------------- Question 2: ------------------
> --------------------------------------------
> Why doesn't fleetradarV2.0 show up in my windows explorer now? Did the error
> during the deletion of the directory make this command fail so that the svn
> repository is totaly broken? I.E. I cannot access my latest code anymore? How
> do I recover fleetradarV2.0 to make further changes.

I think you entered a wrong url to switch to. If you want your working
copy to be fleetradarV2.0, you have to enter the URL
https://svn.karta.com/svn/tracker/FleetRADAR/fleetradarV2.0 to switch to.

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
Received on Wed Nov 8 20:46:56 2006

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.