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

Comments

@Omnifarious
Copy link
Contributor

@Omnifarious Omnifarious commented Mar 21, 2017

  • 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

@draix

This comment has been minimized.

Copy link

@draix 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

@brainwane brainwane moved this from Help Wanted to In progress in PyPA Sprint Weekend at Bloomberg (2018) Oct 28, 2018
@lock lock bot added the S: auto-locked 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.
Projects
3 participants
You can’t perform that action at this time.