hg convert error

Alexander Jordanov atg2dg at gmail.com
Mon Jun 23 08:57:37 CDT 2008


However i see now that the files are not identical with the files from the
latest svn revision, so there is actually a problem... as i have incomplete
repository and i have to either start new mercurial repository and lose all
the history or stay with subversion. So help me if you can please.
Thank you.

On Mon, Jun 23, 2008 at 4:38 PM, Alexander Jordanov <atg2dg at gmail.com>
wrote:

> 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/4115a1e4/attachment.htm 


More information about the Mercurial mailing list