[Bug 4043] New: HG 2.7.x cannot convert a local file based SVN repository with db format 6 (works fine with db format 4)

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Sep 26 03:21:57 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=4043

          Priority: normal
            Bug ID: 4043
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: HG 2.7.x cannot convert a local file based SVN
                    repository with db format 6 (works fine with db format
                    4)
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: jeroen.selenic.com at pluimers.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.7.1
         Component: convert
           Product: Mercurial

HG 2.6.x and 2.7.x cannot convert SVN repositories with db format 6 that SVN
1.8.x defaults to.

(SVN db format list: see
http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure)

This works fine when performing svnadmin/svnsync on SVN 1.7.5 (they will get a
db format 4), but fails when performing svnadmin/svnsync on SVN 1.8.x (they
will get a db format 6)

I've tried the matrix of SVN versions 1.7.5, 1.8.1 and 1.8.2 versus HG 2.6.2,
2.7 and 2.7. HG consistently fails with db format 6.

Two of my tries that shows success/failure and got me in the right direction:
https://gist.github.com/jpluimers/6710785
https://gist.github.com/jpluimers/6710795

The error message you get is this:

file:///C:/Users/developer/Versioned/DSharp.svn does not look like a Subversion
repository

from the command here:

C:\Users\developer\Versioned>hg convert --verbose
file:///C:/Users/developer/Versioned/DSharp.svn DSharp
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a CVS
checkout
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a Git
repository
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a Subversion
repository
file:///C:/Users/developer/Versioned/DSharp.svn is not a local Mercurial
repository
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a darcs
repository
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a monotone
repository
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a GNU Arch
repository
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a Bazaar
repository
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a P4
repository
abort: file:///C:/Users/developer/Versioned/DSharp.svn: missing or unsupported
repository

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list