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

remote() revset not working for git repositories #1027

Open
pyrrho opened this issue Feb 12, 2025 · 0 comments
Open

remote() revset not working for git repositories #1027

pyrrho opened this issue Feb 12, 2025 · 0 comments

Comments

@pyrrho
Copy link

pyrrho commented Feb 12, 2025

After cloning a git repository (hosted on GitHub) either with sl clone git@... or git clone git@..., running sl log -r 'remote()' errors out with,

remote: Invalid command: hg -R my_org/my_repo.git serve --stdio
remote:   You appear to be using ssh to clone a git:// URL.
remote:   Make sure your core.gitProxy config option and the
remote:   GIT_PROXY_COMMAND environment variable are NOT set.
abort: no suitable response from remote sl!

Short of it is, I expect sapling should be running some variation of a git branch --remote invocation rather than an hg -R invocation for git repositories. I'm guessing the suggestion of setting the core.gitProxy config is not relevant to the git-vs-hg concern, but I didn't look too far into that.

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

1 participant