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

Can't create project; getting errors

From: Milan Dinić <liste_at_srpski.biz>
Date: Sun, 16 Aug 2009 13:15:32 +0200


I'm new to Subversion. On my managed VPS, running on CentOS, Apache 2.2.11
and cPanel I got installed SVN. Then I wanted to create a repository as per
guides I read on web.

I created directory svn in /home/user/public_html via mkdir command, then in
that directory I run
svnadmin create repos
chown -R apache.apache repos
service httpd restart

In directory repos there are several directories now (conf, db, format...).
After that I run command to create a project inside. Since I found two
different examples I used them both, but in both cases I got errors.

svn mkdir project
but got error
svn: '.' is not a working copy

Then I created new directory in /home/user/public_html called project with
subdirectories trunk, branches and tag and run command
svn import /home/user/public_html/project
file:///home/user/public_html/svn/repos/project -m "Initial repository
but got error:
svn: Unable to open an ra_local session to URL
svn: Unable to open repository
svn: Expected FS format '2'; found format '4'

I spent a lot of time googling without success, so I'm asking here how to
solve this? What I want is to create several projects inside repository so
that I could store my internal code.

Thanks in advance


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-16 15:00:15 CEST

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.