The path '.gitmodules' does not exist in '31627edc0c80332d93e694cb0ed379531fbc9de0'

I am trying to convert a Git repository to Mercurial using hg convert , but I continue to encounter this issue in a specific set of changes

scanning source... sorting... converting... 376 Added curtain.js files. fatal: Path '.gitmodules' does not exist in '31627edc0c80332d93e694cb0ed379531fbc9de0' abort: cannot read submodules config file in 31627edc0c80332d93e694cb0ed379531fbc9de0 

I have not used any Git modules, and as I know, there has never been a .gitmodules file. I tried adding the file manually before starting the conversion, but it still crashes with the same message, instead of Path '.gitmodules' exists on disk, but not in [...] instead. I searched everywhere, but could not find a solution to this problem. I found a link to the git converter plugin if this helps someone.

Thanks so much for reading.

Regards, dimhoLt

+4
source share
1 answer

I suspect this is due to https://bz.mercurial-scm.org/show_bug.cgi?id=5193 .

You may be lucky by specifying --config convert.git.skipsubmodules=yes on the command line.

0
source

Source: https://habr.com/ru/post/1496333/


All Articles