Submitter | Jason R. Coombs |
---|---|
Date | Jan. 29, 2016, 8:13 p.m. |
Message ID | <da65c246e10f57764ef3.1454098437@waste.org> |
Download | mbox | patch |
Permalink | /patch/12911/ |
State | Deferred |
Headers | show |
Comments
Patch
diff --git a/tests/test-schemes.t b/tests/test-schemes.t --- a/tests/test-schemes.t +++ b/tests/test-schemes.t @@ -52,6 +52,21 @@ no changes found [1] +check that expand-scheme outputs the canonical form + + $ hg expand-scheme bb://user/repo + https://bitbucket.org/user/repo + +expanding an unknown scheme emits the input + + $ hg expand-scheme foobar://this/that + foobar://this/that + +expanding a canonical URL emits the input + + $ hg expand-scheme https://bitbucket.org/user/repo + https://bitbucket.org/user/repo + errors $ cat errors.log