Converting mercurial repository to svn with convert extension fails in windows and linux

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Nov 30 19:21:42 UTC 2012


On Nov 29, 2012, at 2:49 AM, Michael Long (MaxWell) wrote:

> Hello,
> 
> I have a (quite large) repository which I'd like to export to subversion.
> 
> D:\work\horizon>hg convert --dest-type svn src horizon-svn --debug --traceback
> initializing svn repository 'horizon-svn'
> running: "svnadmin" "create" "D:\work\horizon\horizon-svn" < NUL:
> Traceback (most recent call last):
>  File "mercurial\dispatch.pyo", line 87, in _runcatch
>  File "mercurial\dispatch.pyo", line 696, in _dispatch
>  File "mercurial\dispatch.pyo", line 472, in runcommand
>  File "mercurial\extensions.pyo", line 184, in wrap
>  File "hgext\color.pyo", line 362, in colorcmd
>  File "mercurial\dispatch.pyo", line 786, in _runcommand
>  File "mercurial\dispatch.pyo", line 757, in checkargs
>  File "mercurial\dispatch.pyo", line 693, in <lambda>
>  File "mercurial\util.pyo", line 463, in check
>  File "hgext\convert\__init__.pyo", line 269, in convert
>  File "hgext\convert\convcmd.pyo", line 439, in convert
>  File "hgext\convert\convcmd.pyo", line 70, in convertsink
>  File "hgext\convert\subversion.pyo", line 1027, in __init__
>  File "hgext\convert\common.pyo", line 322, in run0
>  File "hgext\convert\common.pyo", line 318, in checkexit
> Abort: svnadmin exited with status 1
> abort: svnadmin exited with status 1

Something is wrong on Subversion's side of things. Can you run svnadmin directly? Can you use it to create a repo?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock




More information about the Mercurial mailing list