-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update supported Mercurial schemes with hg+file (#4357)
Empirically, pip supports pip [-e] hg+file:///path/to/repo
- Loading branch information
1 parent
8d96363
commit 72f677f
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
72f677f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for me on pip 9.0.1 it doesn't, at least using Windows path, e.g.
hg+file://d:\whatever\whatever\testpkg
72f677f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe
hg+file://d:/whatever/whatever/testpkg
would work?It's a URL -- I think it should be
/
not\
.72f677f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the correct form is
hg+file:///d:/whatever/whatever/testpkg
. Note three initial slashes, and all forward slashes. See https://en.wikipedia.org/wiki/File_URI_scheme#WindowsFile URLs are a bit messy for Windows files...