Hello,
Format 6 of FSFS repository was introduced only in Subversion 1.8 (not yet 
released). We started 
format 6 support implementation, but didn't finish it yet. I wouldn't recommend 
you to use current 
state of format 6 implementation in SVNKit, because the current codebase is 
rather unstable and can 
corrupt your repository. Better wait for SVNKit release (I can't name even 
approximate date because 
there's a number of changes in Subversion 1.8 compared to 1.7 that should be 
supported by SVNKit 
release).

As you asked about SVNKit source code, currently SVNKit trunk contains 
experimental code with format 
6 and other Subversion 1.8 features implementation. In parallel we develop 
"1.7.x" branch with more 
or less stable code where only bugfixes are added. So r9731 was from 1.7.x 
branch, and r9594 was 
from the trunk.

To build SVNKit from sources we use gradle:

./gradlew clean publish -Pto=/tmp/svnkit-release -x svnkit-javahl16:signMaven

or

./gradlew clean jar -x svnkit-javahl16:signMaven

Also gradle supports uploading to maven, but this requires special maven 
repository settings 
specification.

--
Dmitry Pavlenko,
TMate Software,
http://subgit.com/ - git-svn bridge

> Hi!
> 
> I'm having problems opening repositories created by Subversion 1.7.9
> (r1462340) with SVNKit 1.7.9:
> 
>   org.tmatesoft.svn.core.SVNException: svn: E180001: Unable to open an
> ra_local session to URL
>   svn: E180001: Unable to open repository 'file:///repo-path'
>   svn: E160043: Expected FS format between '1' and '5'; found format '6'
> 
> I checked the current source code for SVNKit and I see that on
> revision 9594 max DB_FORMAT was set to 6 (in March). I decided to use
> 1.7.10-SNAPSHOT version of SVNKit (built 2nd of May). However it throws the
> same error. I inspected the JAR and I see that DB_FORMAT in FSFS.java still
> is set to 5. Build properties file in the snapshot JAR says that the build
> happened at r9731_v20130502_2103.
> 
> I don't get how can then be - I checked revision 9731, and DB_FORMAT there
> is set to 6. Is it possible that the snapshot JAR is invalid?
> 
> I tried building the JAR myself, but I can't figure out how to build a POM
> for it to push it to our maven repo. I'm not a Java developer by any means,
> using SVNKit for Clojure project, so please excuse my arrogance.
> 
> Thanks for any help!

Reply via email to