Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git doesn't seem to properly support having cinnabar submodules #261

Closed
staktrace opened this issue Oct 9, 2020 · 1 comment
Closed

Comments

@staktrace
Copy link
Contributor

mkdir git_super_repo
cd git_super_repo
git init .
git submodule add hg::https://hg.mozilla.org/l10n-central/ace

This produces a fatal: transport 'hg' not allowed error.

Similarly, if I do this instead:

mkdir git_super_repo
cd git_super_repo
git init .
git clone hg::https://hg.mozilla.org/l10n-central/ace
git submodule add ./ace
git submodule update --remote

The last update step fails with the same transport 'hg' not allowed error.

I guess a workaround for doing git submodule update --remote would be to just cd ace && git pull but it would be nice if the standard submodule commands worked.

@glandium
Copy link
Owner

glandium commented Oct 9, 2020

This is not something git cinnabar can do anything about on its own. See https://git-scm.com/docs/git-config#Documentation/git-config.txt-protocolallow

@glandium glandium closed this as completed Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants