Clone aborted and advice `[git] blockdothg = false`
When one clones xonsh with hg clone git@github.com:xonsh/xonsh.git
, it aborts after a pretty long time (as usual for quite big repositories, sequential import of git objects takes time). The log is
destination directory: xonsh
importing [ ] 0/9092importing git objects into hg
abort: Refusing to import problematic path 'tests/hg-test-repo/.hg/00changelog.i'
(Mercurial cannot check out paths inside nested repositories; if you need to continue, then set '[git] blockdothg = false' in your hgrc.)
To retry, the clone has to be started again from zero. It would be better to finish the clone without updating the code so that we at least get the repository (and a .hg/hgrc file).
Another problem, when one follows the advice of putting [git] blockdothg = false
in ~/.hgrc
, this one line version does not work and one needs to write:
[git]
blockdothg = false
It would be good to print this version instead of [git] blockdothg = false
.