Hi all,
I've been trying to install and use subversion with no success, and I'm
hoping someone can point me in the right direction. I've compiled
Apache httpd and subversion per instructions, and but I can't seem to
access my repository over the web.
Here's what I have in my httpd.conf:
<Location /svn/testrepo>
DAV svn
SVNPath /tmp/testrepo
</Location>
And here's what I'm doing at the command line:
> svnadmin create /tmp/testrepo
> mkdir test
> cd test
> mkdir trunk
> mkdir branch
> svn import . http://localhost/svn/testrepo
svn: Unsupported repository version
svn: PROPFIND request failed on '/svn/testrepo'
svn: Expected version '3' of repository; found no version at all; is
'/tmp/testrepo' a valid repository path?
svn: Your commit message was left in a temporary file:
svn: 'svn-commit.tmp'
> svn import . file:///tmp/testrepo
Adding trunk
Adding branch
Committed revision 1.
> svn co http://localhost/svn/testrepo/trunk
svn: Unsupported repository version
svn: PROPFIND request failed on '/svn/testrepo/trunk'
svn: Expected version '3' of repository; found no version at all; is
'/tmp/testrepo' a valid repository path?
>
This is with subversion 0.34, httpd 2.0.48, and Berkeley DB 4.2.50.
It's probably some inane configuration mistake, but I've gone over the
docs and can't figure out what I'm doing wrong. Anyone have any ideas?
And while I (hopefully) have your attention, Subversion 0.45's release
notes indicate that Berkeley DB 4.2.50 is the approved version, but the
INSTALL file says 4.0.14. On the other hand, Python/Modules/Setup
indicates that the bdbm only supports Berkeley DB 3.x - 4.0.x, so I'm a
little confused what the approved version of Berkeley DB is (I would
like to use the 4.2.x line). When I try to run cvs2svn.py, it fails with:
committing: Tue Jan 22 15:36:02 2002, over 3 seconds
Traceback (most recent call last):
File "./cvs2svn.py", line 2267, in ?
main()
File "./cvs2svn.py", line 2263, in main
convert(ctx, start_pass=start_pass)
File "./cvs2svn.py", line 2129, in convert
_passes[i](ctx)
File "./cvs2svn.py", line 2065, in pass4
c.commit(dumper, ctx, sym_tracker)
File "./cvs2svn.py", line 1829, in commit
sym_tracker.fill_branch(dumper, ctx, br)
File "./cvs2svn.py", line 1672, in fill_branch
self.fill_name(dumper, ctx, branch, None, jit_new_rev)
File "./cvs2svn.py", line 1630, in fill_name
is_tag, jit_new_rev)
File "./cvs2svn.py", line 1550, in copy_descend
next_src, next_dst, is_tag, jit_new_rev)
File "./cvs2svn.py", line 1550, in copy_descend
next_src, next_dst, is_tag, jit_new_rev)
File "./cvs2svn.py", line 1550, in copy_descend
next_src, next_dst, is_tag, jit_new_rev)
File "./cvs2svn.py", line 1550, in copy_descend
next_src, next_dst, is_tag, jit_new_rev)
File "./cvs2svn.py", line 1550, in copy_descend
next_src, next_dst, is_tag, jit_new_rev)
File "./cvs2svn.py", line 1550, in copy_descend
next_src, next_dst, is_tag, jit_new_rev)
File "./cvs2svn.py", line 1529, in copy_descend
dumper.prune_entries(copy_dst, val)
File "./cvs2svn.py", line 996, in prune_entries
expected, 1)
File "./cvs2svn.py", line 693, in change_path
self.nodes_db[leaf_key] = marshal.dumps(new_val)
dbm.error: cannot add item to database
Any help would be greatly appreciated.
Thanks,
-Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 10 07:58:07 2003