Mercurial > hg
comparison tests/test-schemes.t @ 27982:bf1d5c223ac0
schemes: add debugexpandscheme command, resolving a scheme to canonical form
author | Jason R. Coombs <jaraco@jaraco.com> |
---|---|
date | Fri, 29 Jan 2016 14:53:44 -0500 |
parents | 7a9cbb315d84 |
children | 393e44324037 |
comparison
equal
deleted
inserted
replaced
27981:d630eac3a5db | 27982:bf1d5c223ac0 |
---|---|
50 comparing with z:// | 50 comparing with z:// |
51 searching for changes | 51 searching for changes |
52 no changes found | 52 no changes found |
53 [1] | 53 [1] |
54 | 54 |
55 check that debugexpandscheme outputs the canonical form | |
56 | |
57 $ hg debugexpandscheme bb://user/repo | |
58 https://bitbucket.org/user/repo | |
59 | |
60 expanding an unknown scheme emits the input | |
61 | |
62 $ hg debugexpandscheme foobar://this/that | |
63 foobar://this/that | |
64 | |
65 expanding a canonical URL emits the input | |
66 | |
67 $ hg debugexpandscheme https://bitbucket.org/user/repo | |
68 https://bitbucket.org/user/repo | |
69 | |
55 errors | 70 errors |
56 | 71 |
57 $ cat errors.log | 72 $ cat errors.log |
58 | 73 |
59 $ cd .. | 74 $ cd .. |