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

Re: [TSVN] TortoiseSVN switch deletes all non modified files!!!???

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-03-10 23:38:08 CET

Charles Doucette wrote:
> Our company was having problems with VSS on Windows XP.
> I encouraged them to try SVN (and TortoiseSVN).
> We installed TortoiseSVN 1.1.3 (and some people including myself
> installed the svn command line client 1.1.3).
>
> We were able to successfully import a VSS database into SVN with vss2svn.
> I wanted to layout my repository with /trunk, /branches, and /tags
> initially;
> but, the documentation for vss2svn advised against that if I wanted to
> use --setdates (you must start at revision 0).
> I forgot to add the top level directories immediately after the
> conversion and and before people started to use it.
> Recently, someone wanted to start a branch and I was forced to create
> /trunk, /branches, and /tags
> (and move everything from the root directory under trunk).
>
> I naively thought I could just do a Relocate (svn switch -relocate
> http://source/svn/repos http://source/svn/repos/trunk);
> however, that failed miserably. I had to relocate back to what I had
> before and then do a Switch.
> That seemed to work fine.

Relocate is _ONLY_ for cases where your URL to the server changes, e.g.
if the IP address changes. Since relocate simply rewrites the URL
entries in the .svn directories, this can be fatal if you use it wrong.

And switch doesn't really work here either. You moved some folders
around (I assume from / to /trunk). Then you simply should UPDATE your
working copy after that.

> Today, I had my colleague do a switch (same as above). I told her that
> nothing visible should change - only updates to the administrative
> directories.

A switch makes your working copy look like a checkout from the switch
target, including your local modifications (i.e. you could get a conflict).

> When it was done - it said something was locked and you must do a
> cleanup. I told her to do a cleanup.

Seems there were some unversioned files in the way?
I'm sure there were some other error messages shown before that. Do you
know what these were?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 10 23:40:37 2005

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