My previous posts about Subversion on Debian Linux (installing, configuring, backported packages) showed how I installed and configured my local repository that I use for my home projects. I also used these tutorials when installing Subversion at work.
After creating a couple of repositories for different teams (all within the base
I rewrote my conf file to be the following:
Now any repositories that are created within the parent
Technorati Tags: Subversion, Debian, Linux, Andrew Beacock
After creating a couple of repositories for different teams (all within the base
/svn
directory) I noticed that my Apache configuration file was starting to look a little repetitive:# Subversion - team AI plan on creating at least two more repositories for other teams and so this was repetition was starting to bother me. A colleague pointed out that
<Location "/a">
DAV svn
SVNPath /svn/team-a
SVNIndexXSLT "/svnindex.xsl"
</Location>
# Subversion - team B
<Location "/b">
DAV svn
SVNPath /svn/team-b
SVNIndexXSLT "/svnindex.xsl"
</Location>
SVNParentPath
(scroll about 1/4 down) should be the solution.I rewrote my conf file to be the following:
# Subversion
<Location "/svn">
DAV svn
SVNParentPath /svn
SVNIndexXSLT "/svnindex.xsl"
</Location>
Now any repositories that are created within the parent
/svn
directory will be available via http://some-url/svn/<repository name>
, so my existing repository become:http://some-url/svn/team-a
http://some-url/svn/team-b
Technorati Tags: Subversion, Debian, Linux, Andrew Beacock
Comments
The only question is...
You tell nothing about the structure of the XSLT file.
Is it necessesary to create it?