Traceback on convert with hg 2.8 (worked with 2.7.x)
Mads Kiilerich
mads at kiilerich.com
Wed Nov 6 11:16:24 UTC 2013
On 11/06/2013 11:47 AM, Andreas Tscharner wrote:
> On 06.11.2013 11:23, Mads Kiilerich wrote:
>
> [snip]
>>> ** http://mercurial.selenic.com/wiki/BugTracker
>>
>> ^^^
>
> I though that the problem is may known and a simple solution is around...
>>
>
> [snip]
>>> File "hgext\convert\subversion.pyo", line 45, in revsplit
>>> ValueError: need more than 1 value to unpack
>>>
>>> This worked with hg 2.7.x.
>>
>> What is in the svn repo's hg-shamap and in the hg repo's .hg/shamap ?
>
> Where do I find "svn repo's hg-shamap"?
>
> .hg/shamap is huge (I have about 23'000 changesets). Here are the last
> few ones:
>
> svn:c1cb0f78-38fc-794d-955a-5943c916b825/trunk at 27761
> 2e14b35f7ee9ec41defd5102c60c9b5a204f3afc
> svn:c1cb0f78-38fc-794d-955a-5943c916b825/trunk at 27763
> e53dd55706ba36c7a796f78b6862ba965b78d752
> svn:c1cb0f78-38fc-794d-955a-5943c916b825/trunk at 27772
> 19eaeea3b8cd943fdc231163b56d62948e362e09
> svn:c1cb0f78-38fc-794d-955a-5943c916b825/trunk at 27785
> 7a8df18632f393f6f2736c3595d649dffb974eda
> svn:c1cb0f78-38fc-794d-955a-5943c916b825/trunk at 27788
> 5be3e236bb74c76fc79ced1a6274bc0b4e8d3db9
> svn:c1cb0f78-38fc-794d-955a-5943c916b825/trunk at 27792
> f2da3a0f72ca8e0fd2544a7c5419daadba3a9a6d
> c6eda422ff459775f6dd844b344d03894e4c7ecb
> 7a8df18632f393f6f2736c3595d649dffb974eda
> 951e6a9bacb1d751ed4abc9003fe95745d78cf55
> 5be3e236bb74c76fc79ced1a6274bc0b4e8d3db9
> d40f01f46d698cc95fc94fe0915ec4fdfcd41d7f
> f2da3a0f72ca8e0fd2544a7c5419daadba3a9a6d
> 2a595078c81b4c9c23bf1d698da3fe3514ea786e
> 7a8df18632f393f6f2736c3595d649dffb974eda
> 7b50f7a93f51a61c3758f8cd15f51327377ef2ee
> 5be3e236bb74c76fc79ced1a6274bc0b4e8d3db9
> 437ecb9582d9eea8a5ac25d82af34074946d521d
> f2da3a0f72ca8e0fd2544a7c5419daadba3a9a6d
It looks like you have done other converts from the hg repo to some
other hg repo ... and the svn converter is fragile and jealous cannot
handle the traces it left.
That also means that the problem isn't related to the hg version.
You can try to take a backup of everything and remove the last 6 lines
and try again - and review carefully that it converts the right
changesets the right way.
/Mads
More information about the Mercurial
mailing list