Matthieu Pasini <mpasini <at> nexantis.net> writes:
> I'm trying to install that couple of software but encounters problems.
> If I try to reach my repository via a web browser, I get.
> -<m:human-readable errcode="22">
> Can't set position pointer in file
> '/usr/local/test/apache/htdocs/svn/test/db/revs/0': Invalid argument
> in the logs of apache, I get :
> Wed Jun 01 12:00:04 2005] [error] [client 10.0.1.196] Could not fetch
> resource information. [500, #0], referer: http://intranet:4444/svn/
> [Wed Jun 01 12:00:04 2005] [error] [client 10.0.1.196] Could not open the
> root of the repository [500, #22], referer: http://intranet:4444/svn/
> [Wed Jun 01 12:00:04 2005] [error] [client 10.0.1.196] Can't set position
> pointer in file '/usr/local/test/apache/htdocs/svn/test/db/revs/0': Invalid
> argument [500, #22], referer: http://intranet:4444/svn/
> my configuration for the httpd.conf:
> <Location /svn/test>
> DAV svn
> SVNPath /usr/local/test/apache/htdocs/svn/test
> SVNAutoversioning on
> My apache2.1.0 is listening on 4444 and as rights on the repository.
> Is there a way to resolve that issue ?
> Thank you.
I think I know what your problem is.
You probably created a repository under /usr/local/test/apache/htdocs/svn/test/
(using 'svnadmin create'), BUT you did not make any revisions yet !!
This is a sort of a bootstrap issue, that I myself have come across.
To solve this, you must somehow create the first revision. As I remember
correctly, you can't even do a 'checkout' at this stage.
The solution is to do 'svn import', which will be your 1st revision.
svn import /my_repos http://my_repos_url -m "creating initial repository layout."
After this step, you should be able to checkout, etc.
Hope this helps (if not, we'll figure something else to try ..)
Thanks - Gal.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Sun Jun 5 12:55:51 2005