cloning a git repository fails: abort: git subrepos not allowed

24 views
Skip to first unread message

Uwe Brauer

unread,
Oct 11, 2021, 11:15:39 AM10/11/21
to hg-git, Mercurial List

Hi

I tried to clone, locally, a git repository. However after 20 minutes I obtain

warning: can't find ancestor for 'testing/lisp/test-org-attach-git.el' copied from 'testing/lisp/test-org-attach-annex.el'!
updating to branch default
abort: git subrepos not allowed
(see 'hg help config.subrepos' for details)


However my .hgrc file has

[subrepos]
subrepos.allowed = True
hg.allowed = True
git.allowed = True

So what is my mistake?

Uwe Brauer

Dr Rainer Woitok

unread,
Oct 11, 2021, 12:01:01 PM10/11/21
to Uwe Brauer, hg-git, Mercurial List
Uwe,

On Monday, 2021-10-11 17:15:31 +0200, you wrote:

> ...
> hg.allowed = True
> git.allowed = True
>
> So what is my mistake?

Shouldn't that be

hg:allowed = True
git:allowed = True

instead (colon rather than period)?

Sincerely,
Rainer

Uwe Brauer

unread,
Oct 11, 2021, 12:45:00 PM10/11/21
to Dr Rainer Woitok, Uwe Brauer, hg-git, Mercurial List
Oops when reading becomes a problem.... 😓

Thanks very much

Uwe
Reply all
Reply to author
Forward
0 new messages