hg convert error
Alexander Jordanov
atg2dg at gmail.com
Mon Jun 23 08:38:03 CDT 2008
Hi i have a svn repository which i try to convert to mercurial. The
repository has ~1500 revisions when it reaches revision 202 it spits out an
error:
> 202
> ** unknown exception encountered, details follow
> ** report bug details to http://www.selenic.com/mercurial/bts
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 0.9.5)
> Traceback (most recent call last):
> File "/usr/bin/hg", line 14, in <module>
> mercurial.dispatch.run()
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 20,
> in run
> sys.exit(dispatch(sys.argv[1:]))
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 29,
> in dispatch
> return _runcatch(u, args)
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 45,
> in _runcatch
> return _dispatch(ui, args)
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 348,
> in _dispatch
> ret = _runcommand(ui, options, cmd, d)
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 401,
> in _runcommand
> return checkargs()
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 357,
> in checkargs
> return cmdfunc()
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 342,
> in <lambda>
> d = lambda: func(ui, *args, **cmdoptions)
> File "/usr/lib/python2.5/site-packages/hgext/convert/__init__.py", line
> 380, in convert
> c.convert()
> File "/usr/lib/python2.5/site-packages/hgext/convert/__init__.py", line
> 270, in convert
> self.copy(c)
> File "/usr/lib/python2.5/site-packages/hgext/convert/__init__.py", line
> 214, in copy
> changes = self.source.getchanges(rev)
> File "/usr/lib/python2.5/site-packages/hgext/convert/subversion.py", line
> 226, in getchanges
> files, copies = self.expandpaths(rev, paths, parents)
> File "/usr/lib/python2.5/site-packages/hgext/convert/subversion.py", line
> 490, in expandpaths
> children = self._find_children(path, revnum)
> File "/usr/lib/python2.5/site-packages/hgext/convert/subversion.py", line
> 666, in _find_children
> return ['%s/%s' % (path, x) for x in svn.client.ls(rpath,
> optrev(revnum), True, self.ctx, pool).keys()]
> File "/usr/lib/svn-python/libsvn/client.py", line 1082, in svn_client_ls
> libsvn._core.SubversionException: ('No such revision 1308', 160006)
However this is my oldest subverion repository and it might be broken(i have
successfully converted two other svn repositories to hg). It's not a big
problem for me because from what i see it has imported all other versions,
and the probability that i will need something from such an old revision is
infinitely small :) however i think that you should now about that error...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080623/2dc7039c/attachment.htm
More information about the Mercurial
mailing list