Skip to content
Snippets Groups Projects
Commit 7c80e9f8 authored by Sean Farley's avatar Sean Farley
Browse files

init: fix default hg breakage by returning the right type

Originally, I copied the logic for the file scheme which calls
_peerlookup(path) but in mercurial/hg.py they have:

    try:
        return thing(path)
    except TypeError:
        return thing

So, our http(s) scheme broke default Mercurial because I tried returning
thing(path) instead of just thing. A test has been added to catch this.
parent e28affca
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment