hg convert failing on a repo with subrepos
Svein Seldal
sveinse at seldal.com
Tue May 8 12:50:07 UTC 2018
Den 2018-05-08 09:57, skrev Svein Seldal:
>> I'm not sure if the missing subrepos would be a problem. You may end
>> up having to write an extension that tweaks the default convert
>> behavior.
>>
>> https://www.mercurial-scm.org/wiki/ConvertExtension#Customization
>
> Yes, I'm prepared that this will be necessary, but I'm stuck at what
> hg convert is failing on. E.g. what asset I need to modify to get hg
> convert pass.
I was able to bypass the point where hg convert failed by writing my own
extension. I rewrite the contents of the .hgsub and .hgsubstate files by
simply adding a prefix of '# ' for each line in these files, and that
fixed the issue.
Best regards,
Svein
More information about the Mercurial
mailing list