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

List of supported URL schemes for Mercurial incomplete #4358

Closed
Omnifarious opened this issue Mar 21, 2017 · 1 comment · Fixed by #7065
Closed

List of supported URL schemes for Mercurial incomplete #4358

Omnifarious opened this issue Mar 21, 2017 · 1 comment · Fixed by #7065
Labels
auto-locked Outdated issues that have been locked by automation good first issue A good item for first time contributors to work on type: docs Documentation related

Comments

@Omnifarious
Copy link
Contributor

  • Pip version: 9.0.1
  • Python version: 3.6
  • Operating system: Linux

Description:

I went to the documentation here:

https://pip.pypa.io/en/latest/reference/pip_install/#vcs-support

And hg+file was not listed as a supported URL scheme. I ran pip install with that URL scheme anyway, and it worked fine. The documentation was missing it.

What I've run:

pip install --prefix="$PWD/venv" -e hg+file:///someplace/on/my/system/curio#egg=curio
Obtaining curio from hg+file:///someplace/on/my/system/curio#egg=curio
Updating ./venv/src/curio clone
Installing collected packages: curio
Running setup.py develop for curio
Successfully installed curio

@xavfernandez xavfernandez added type: docs Documentation related good first issue A good item for first time contributors to work on labels Mar 22, 2017
@draix
Copy link

draix commented Mar 31, 2017

From pip mercurial source code, I think that hg+file scheme is not supported, so the parser applied the "hg" schema solely.

class Mercurial(VersionControl):
    name = 'hg'
    dirname = '.hg'
    repo_name = 'clone'
    schemes = ('hg', 'hg+http', 'hg+https', 'hg+ssh', 'hg+static-http')

Hope that helps

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Nov 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation good first issue A good item for first time contributors to work on type: docs Documentation related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants