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

Version handling

From: Datatal AB - Jonas Gauffin <jonas_at_datatal.se>
Date: 2005-11-14 15:58:24 CET

Hello

Got another question. We break the codebase at every release to be able
to support current version + 2 old.
This means that we need to have 3 different copies of the source code in
subversion, I would like to create a structure like the following:

contactcenter\1.0
contactcenter\1.1
contactcenter\1.2

What is the best way to do it?

I was thinking about creating a repos called contactcenter and then just
create three different folders in it. But that would increase version
number each time I do a change in any of the versions, right?

My second thought was to create a regular folder named "contactcenter"
and in that folder create 3 different repos. But when doing that I get
the following error when browsing it:

<D:error>
        <C:error/>
        <m:human-readable errcode="2">
                Could not open the requested SVN filesystem
        </m:human-readable>
</D:error>

My apache config:

<virtualhost 192.168.255.25:443>
    ServerAdmin jonas@datatal.se
    ServerName <not shown in this mail>
    LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
    SSLEngine On
    SSLCertificateFile /etc/apache2/ssl/apache.pem
    <location /public>
        Order allow,deny
        Allow from all
        DAV svn
        SVNParentPath /subversion/public
        AuthzSVNAccessFile /etc/apache2/auth-files/public-svn-authzfile
        Satisfy Any
        Require valid-user
        AuthType Basic
        AuthName "Datatal Repos"
        AuthUserFile /subversion/.dav_svn.passwd
    </location>

    ErrorLog /var/log/apache2/error.log
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    CustomLog /var/log/apache2/access.log combined
</virtualhost>

How I did it:

First try was to get it running with one repos called contactcenter,
/subversion/public/contactcenter, which went ok (worked in the browser).

Next I renamed it to 1.1 and created a regular dir called contactcenter.
/subversion/public/contactcenter <-- regular dir
/subversion/public/1.1 <-- contactcenter repos renamed to 1.1

After that I moved the 1.1 repos into the contactcenter dir.
/subversion/public/contactcenter/1.1 <--- repos now in the contactcenter
folder

Suggestions? =)

Thanks,
  Jonas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 14 16:07:15 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.