I am a first-time SVN (admin) user, setting up a repository for our
web development team to use. I have a few questions about the best
way to accomplish what I want to do.
I am on a Windows network, and I am using a file system repository
(not berkeley) as I need to put the repo on a network share. I have
installed svnservice on the server, and am using TortoiseSVN as a
client (although I've tried everything that's giving me problems as a
command-line command as well).
Firstly, I have a very large number of small projects, and I'm not
sure if I should be creating a lot of repositories (high overhead when
creating a project, but low when accessing the repos) or one big one
(easy to add a project, but potentially a lot of overhead when
updating). Does anyone have any advice on this for me?
Secondly, I need our development environment to stay up to date with
the HEAD. I've realised I can do this with a post-commit.bat file -
but I can't make this work. The bat file seems to run on the client,
not the server (where both the repo and the dev environment sit). Is
this as simple as a one-line svn update command? (assuming all the
right users have the right permissions, of course) Is there any way
to update only one projet within the repository (obviously there is,
rather, is there a way of knowing which one has just been commited in
the hook script?)
This may be a symptom of the next problem: namely, I can't seem to
access the repo as a svn:// url, only as a file:// share. Even when
attempting from the server itself (svn://localhost/) I get a
connection "actively refused" error. However, the fileshare option
works locally or across the network.
This in turn may be a symptom of the last issue: SVNService seems to
run SVNServe with a random port. Process Explorer shows it to be
listening on port 2490 currently, it was 2406 last time I started it.
If I edit SVNService.exe.config to specify a port, (any port) or a
host-name, it won't start SVNServe at all. I have tried launching
SVNServe manually with these options on the command line, and I get an
error that makes no sense to me: "The requested name is valid, but no
data of the requested type was found". So I end up with
SVNService.exe running, but no SVNServe process under it.
That's a lot of questions, I know, but I'd really appreciate some help
getting this environment working properly.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Fri Oct 13 11:57:46 2006