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

Re: repository creation woes

From: Sven Brueggemann <SBrueggemann_at_gmx.net>
Date: 2006-08-18 20:35:14 CEST

Hello,

Andy Dingfelder wrote:
> 1. Open a VNC connection from my remote (windows) client to the SVN
> (windows server)
> 2. Create a new empty directory in the correct area (for example
> C:\SVN\java\new_project)
> 3. Right click that new dir and select TortoiseSVN "create repository
> here..."
> 4. Select "FSFS", then OK

Repository creation is usually done on the server (with svnadmin create).
If you have a TortoiseSVN installed on the server, too, it's OK to
use TSVN to create the repository via VNC. Since your server is a
windows machine, you can use your workstation's TSVN to create the
repository on an UNC path if one is available.

> 6B - Since that did not work, I found a painful way to do it:
> 1 Close the VNC connection, then use TortoiseSVN in my client, and
> check out the new repository using the URL
> http://servername/SVN/java/new_project
> 2 Create the trunk/branches/tags directory structure
> 3 Add any new files into the trunk dir
> 4 Add all the files using TortoiseSVN
> 5 commit all the files
> 6 delete the entire directory
> 7 re-checkout using the URL:
> http://servername/SVN/java/new_project/trunk

It's easier to do it this way:

1. Check out the whole newly created repository to your machine
2. Create the trunk, branches, tags structure in your local WC and
add the these directories.
3. Copy your sources to trunk and add them.
4. If necessary, set properties on files and directories.
5. commit

Now you have set up your repository completely in a single revision.
Usually, the TSVN->adds in steps 2 and 3 can be done with a single
recursive add on the root directory.

6. You can copy the contents of you trunk directory to the location
were you want to have your working copy. This way, you don't have to
re-checkout.

Kind regards

Sven

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Aug 18 20:35:34 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.