[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: Andy Dingfelder <DingfelderA_at_SirTrack.com>
Date: 2006-08-21 00:00:24 CEST

I agree that this works... although I would say that CVS has us beat
hands down on the admin side for creating new modules / repositories,
(since you can do it from remote clients) and I think it would be a
great help to add this functionality in a future version. Having said
that, I think Subversion is better in most other areas, so I can vive
with it for now.

Assuming that I am doing my work remotely, it sounds like I have 2
options:

1. Use svnadmin on a client to administer repositories on a server (I
have not tried this, but it was suggested in one of the other recent
responses to this thread)
2. Use TortoiseSVN directly on the server via VNC

if #1 does work, it has the benefit of not needing VNC but still has
the limitation that you must know the command line syntax. That is ok
for me but the other developers want an "easy" (GUI) interface. Besides
which, if it (svnadmin) "can" be run remotely, why can't TortoiseSVN do
admin commands (such as repository creation) remotely as well?

#2 has the limitation of requiring VNC but is easier to do admin
commands.

Besides the technical issue of 'how' to create the repository, the
other part of the repository creation process that concerns me is the
manual creation of the trunk/tags/branches directories.

I understand that the directory structure is "flexible" which is a
benefit, but it adds an additional manual step to the repository
creation step.

What I would like to suggest as a feature addition is a configurable
setting of whether to automatically create the directory structure upon
repository creation.

>>> SBrueggemann@gmx.net 19/08/2006 6:35 a.m. >>>
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

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 Mon Aug 21 00:00:52 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.