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

Re: Tortoise does not remember the root location for an import

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Tue, 11 Nov 2014 06:10:31 -0600

On Mon, Nov 10, 2014 at 11:12 AM, Vincent Himpe <vhimpe_at_teslamotors.com>

> Scenario
> Create a local repository called ‘localsvn’
> Svn server called ‘svn’
> Checkout a project from SVN to local repo. For example a project called
> ‘A’.

You already messed up. There is no "local repo" in Subversion. When you do
a checkout, you have a *working copy*. Calling it a repository tells me
you've never read even the introductory "getting started" or "basic usage"
guides readily available on the Internet for Subversion. Stop right now and
read at least a couple chapters of the "svn book":

> \svn\a -> localsvn\a
> Now click on another project in and checkout. A project called ‘B’
> Tortoise will try to dump this in localsvn\a\b . this is a mistake !
> since the checked out project came from the root it needs to go in the root
> of the local svn

When you do a checkout, SVN does NOT attempt to recreate the repository in
its entirety on your computer. SVN takes only the folder you checkout, and
copies it to whatever directory you tell it to.

> In other words : the entire path is not copied correctly. This leads to
> data corruption. Paths are not named correctly.
You have no data corruption, you have a directory nested inside another
directory. Move it to where it needs to go.

YOU the user have full control of where each checkout goes. If you wanted
you could name your working copy directory
ThisIsAProjectCalledBAndIDoNotWantAShortName instead of B, and place it in
C:\Users\MyUsername\SVN\Working_Copies. SVN will still associate that
project with the "b" project in your repository even if it's named oddly on
your machine or placed wildly separated from the "a" project. You could
checkout some subdirectory of a or b, without checking out the entire

Learn the basics of the tools you're using, and you'll be a lot happier.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-11-11 13:10:59 CET

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