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

svn_python SWIG bindings & dump file format

From: Ryan Heniser <ryan-he_at_moving-picture.com>
Date: Wed, 16 Sep 2009 16:45:38 +0100

Hello all,

I am unable to use the svn SWIG python bindings when using python 2.5.1
and svn 1.6.5.


[Wed 16-09-09 4:28:48pm] ryan-he_at_georgia:/jobs/rnd_dev > svn --version
svn, version 1.6.5 (r38866)
    compiled Sep 15 2009, 13:29:23

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
   - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
   - with Cyrus SASL authentication
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
   - handles 'http' scheme
   - handles 'https' scheme

[Wed 16-09-09 4:29:02pm] ryan-he_at_georgia:/jobs/rnd_dev > python
Python 2.5.1 (r251, Sep 4 2007, 19:03:53)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import fs, repos, core
>>> assert (core.SVN_VER_MAJOR, core.SVN_VER_MINOR) >= (1, 6),
"Subversion 1.6 or later required"
>>> repository = repos.open('/mpc/devel/ryan-he/dev/svn/.svn')
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
line 55, in svn_repos_open
     return apply(_repos.svn_repos_open, args)
svn.core.SubversionException: ("Expected repository format '3' or '5';
found format '9'", 165005)
>>> print repos.__file__
>>> print _repos.__file__


I took a look at

There is a hard coded variable SVN_REPOS_DUMPFILE_FORMAT_VERSION at line
2048 that is set to 3. But, I'm not about to kludge it by setting this
to 9 without asking here first. I've blow several hours tracking this
down. Would greatly appreciate some timely help here. Thanks in advance!



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-16 17:48:04 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.