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

Re: svn update in post-commit hook

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-11-08 20:40:46 CET

>>>>> "Rob" == Rob Brandt <bronto@csd-bes.net> writes:

 Rob> "set up Apache to server your repository" sounds really
 Rob> interesting; how do I do that? I looked in the docs and the
 Rob> repository browsing references I see seem to refer to browsing
 Rob> the repository as if it's a client - file revisions, branches,
 Rob> the trunk, etc. I just pointed apache to my repository dir, and
 Rob> it just shows me the repository dir structure - /conf, /dav,
 Rob> /db, etc. So I guess I haven't set it up.

That's right.

Read chapter 6 of the SVN book. Basically, you need to configure the
mod_dav_svn module. That teaches Apache how to interpret a Subversion
repository.

This does two things:
1. It lets you see the head revision as live data from any browser
2. It lets the svn client access the repository via http: URLs.

You can fine tune the access control, play games with rewrites, and do
all sorts of other fun things that Apache supports.

    paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 8 20:55:14 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.