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

repository creation woes

From: Andy Dingfelder <DingfelderA_at_SirTrack.com>
Date: 2006-08-18 01:41:37 CEST

Hi Folks,

After switching from CVS I am pleased with SVN and am happy using
TortoiseSVN.

I am now in the process of getting the rest of the developers I work
with to migrate a swell, and have run into a usability issue I am hoping
you can help with.

Creating a new repository is A PAIN.

Basically, I think I must be missing something... if it is this tough,
I think others would be complaining as well.

(See below for background info on how our repositories are
structured.)

Here are the hoops I have to jump through to get my code into SVN:

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
5. Remove the conf dir that was created, since we are specifying it
manually in apache's conf
6. Create the trunk/branches/tags structure.

6A - If I try and import the files from TortoiseSVN and use the browse
window, it sets the repository as: file:///C://temp/new_project
then I get the error:
Error: Unable to open an ra_local session to URL
Error: Unable to open repository 'file:///C:/SVN/doc/temp'

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

IMHO In an idea world, I should be able to do all this without VNC, and
just select a menu item called "create remote repository" and it would
handle making the trunk/tags/branches structure as well
Since it is quite trivial to add a new module to CVS remotely, I am
going to have a tough time selling SVN to my co-workers if they have to
do all this to add new repositories.

Please someone tell me the way I SHOULD be doing this.

Cheers,

Ding
_______________________________________________________________________________

Background Info that might be useful:

I have multiple repositories, grouped by repository type

 Directory of C:\SVN

18/08/2006 10:32 <DIR> c
18/08/2006 10:48 <DIR> dxp
14/08/2006 16:23 <DIR> java

<Location /SVN/java>
  DAV SVN
  SVNParentPath "c:/SVN/java"
  AuthType Basic
  AuthName "java repository"
  AuthUserFile "c:/SVN/access/passwd"
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

<Location /SVN/dxp>
  DAV SVN
  SVNParentPath "c:/SVN/dxp"
  AuthType Basic
  AuthName "dxp repository"
  AuthUserFile "c:/SVN/access/passwd"
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

<Location /SVN/c>
  DAV SVN
  SVNParentPath "c:/SVN/c"
  AuthType Basic
  AuthName "c repository"
  AuthUserFile "c:/SVN/access/passwd"
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

Each of these areas then has repositories

 Directory of C:\SVN\java

27/04/2006 14:48 <DIR> common
03/05/2006 12:16 <DIR> project1
03/05/2006 12:16 <DIR> project2
etc

so, my actual repositories are

C:\SVN\java\common
C:\SVN\java\project1
etc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WARNING: This email and any attachments may be confidential and/or
privileged. They are intended for the addressee only and are not to be read,
used, copied or disseminated by anyone receiving them in error. If you are
not the intended recipient, please notify the sender by return email and
delete this message and any attachments.

The views expressed in this email are those of the sender and do not
necessarily reflect the official views of Landcare Research.

SirTrack
http://www.sirtrack.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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