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

[TSVN] Re: Re: subversion folders

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-09-29 11:38:59 CEST

"martin de lange" wrote
> I have two folders for example with one file in each. I right
> click on both folders to import individually. After that the two files
> were in the working folders are now both in the repos root. It does not
> create a folder hierarchy in the repos at all. I tried adding the folders
> also so there must be some option somewhere that stops this from working

The doc has been clarified recently, but you will only see that in the
nightly build version (link on website), not RC2.

When you import, the *content* of the folder will be imported (including any
sub-folder hierarchy) but not the folder itself. I think this is what is
causing the confusion.

If you want your repo to look like:


One way to do it is to use repo browser to create trunk, then create
subfolders Project1 and Project2.

Now go to your local drive and import the Project1 folder into

Note that the folder you imported is *not* your working copy, and is not
controlled by SVN. To get a working copy, you need to checkout your newly
created structure into an empty working folder.

What I usually do is move my original unversioned folder to an archive area
and also copy it into C:\Temp\Project1. Then I clean up the temp version to
remove object files, etc. and import it. I then create a new folder for my
WC and check out from the repository. When I am happy that I have everything
working, I delete the temp folder, and (eventually) the unversioned archive.

For a fresh project, you will not need to go through the paranoia stages
above, but for an existing project, I want to be very sure I haven't
forgotten anything before I delete the unversioned data!


To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 29 12:41:06 2004

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.