Public bug reported:

Binary package hint: mercurial

There appears to be an incompatibility between mercurial 1.0.1-2~hardy1
and python-subversion 1.5.1dfsg1-1ubuntu2 (both in hardy-backports).
Converting an svn repository to hg blows up:

$ hg convert /tmp/vchacks.svn /tmp/vchacks.hg
scanning source...
python: 
/build/buildd/subversion-1.5.1dfsg1/subversion/libsvn_ra/ra_loader.c:977: 
svn_ra_get_log: Assertion `*path != '/'' failed.
Aborted (core dumped)
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or [EMAIL PROTECTED]
** Mercurial Distributed SCM (version 1.0.1)
Traceback (most recent call last):
  File "/usr/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 20, in 
run
    sys.exit(dispatch(sys.argv[1:]))
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 29, in 
dispatch
    return _runcatch(u, args)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 45, in 
_runcatch
    return _dispatch(ui, args)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 364, in 
_dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 417, in 
_runcommand
    return checkargs()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 373, in 
checkargs
    return cmdfunc()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 358, in 
<lambda>
    d = lambda: func(ui, *args, **cmdoptions)
  File "/var/lib/python-support/python2.5/hgext/convert/__init__.py", line 127, 
in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/var/lib/python-support/python2.5/hgext/convert/convcmd.py", line 353, 
in convert
    c.convert()
  File "/var/lib/python-support/python2.5/hgext/convert/convcmd.py", line 277, 
in convert
    heads = self.source.getheads()
  File "/var/lib/python-support/python2.5/hgext/convert/subversion.py", line 
280, in getheads
    self.head = self.latest(self.module, self.last_changed)
  File "/var/lib/python-support/python2.5/hgext/convert/subversion.py", line 
494, in latest
    for entry in stream:
  File "/var/lib/python-support/python2.5/hgext/convert/subversion.py", line 
119, in __iter__
    entry = pickle.load(self._stdout)
EOFError

This is a duplicate of http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=492244.  It was fixed in Debian with 1.0.1-4.
Ubuntu intrepid appears to have the fix already in 1.0.1-5.1.  Vanilla
hardy should not be affected, since it still has Subversion 1.4.  I
think this only affects hardy-backports.

Thanks!

** Affects: mercurial (Ubuntu)
     Importance: Undecided
         Status: New

-- 
crash converting svn repo with python-subversion 1.5
https://bugs.launchpad.net/bugs/284112
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to