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

Getting started with Subversion

From: Dave Close <dave+svn_at_compata.com>
Date: 2003-12-12 19:26:20 CET

With no previous experience with Subversion, I'm trying to set-up
a Subversion server on SuSE 8.2 and having a bit of trouble. I ran
these commands:

  mkdir /usr/local/svn/repos
  svnadmin create /usr/local/svn/repos
  svn import file:///usr/local/svn/repos /XX XX

 (Problem 1)
As I understand the directions, that should create a Subversion
repository in the directory /usr/local/svn/repos. It should then import
the directory tree at /XX and put it under a top-level repository entry
called XX. The commands are accepted, but the contents of /XX seem to
be directly under /usr/local/svn/repos; there is no extra layer visible.

Then trying to get Apache to see the repository, I've added this
stanza to httpd.conf:

  <Location /svn/repos>
    DAV svn
    SVNPath /usr/local/svn/repos
    SVNAutoversioning On
  </Location>

(The machine is not on the Net. I'll worry about authentication later.)

 (Problem 2)
Using a browser to access http://localhost/svn/repos/ returns a 404
page-not-found. I did restart Apache (version 2) and I am fairly sure
that all the required modules are present and loaded.

The system is a fairly stock SuSE 8.2, which comes loaded with these
software versions. I did change httpd.conf to load additional modules.

  $ cat /etc/SuSE-release
  SuSE Linux 8.2 (i586)
  VERSION = 8.2

  $ uname -a
  Linux xx 2.4.20-4GB #1 Wed Aug 6 18:26:21 UTC 2003 i686 unknown
    unknown GNU/Linux

  $ svn --version
  svn, version 0.17.1 (dev build)
     compiled May 6 2003, 12:57:55

  $ /usr/sbin/httpd2 -v
  Server version: Apache/2.0.46
   Server built: Jun 5 2003 08:10:41

I know these are not the latest for anything. Yet, reports are that
Subversion has been working for quite a while, so I'd like to see it
work before spending time upgrading (which I will do later). I suspect
that my troubles are not particularly version-dependent, but would be
appreciative of any contrary views.

So, what fundamental detail or details am I missing here? Anybody know?

       Dave Close, Compata, Costa Mesa CA +1 714 434 7359
       dave@compata.com dhclose@alumni.caltech.edu
                          Ralph Waldo Emerson:
       "A foolish consistency is the hobgoblin of little minds,
        adored by little statesmen and philosophers and divines.
        With consistency a great soul has simply nothing to do."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 12 19:27:00 2003

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.