Mercurial > hg
comparison tests/test-subrepo.t @ 45906:95c4cca641f6
errors: remove trailing "!" from some error messages for consistency
Some types of exceptions had a trailing "!" printed after the message
from the exception itself. I guess some of these errors seem a little
more severe (?), but it seems more likely that the inconsistency was
just an oversight.
Differential Revision: https://phab.mercurial-scm.org/D9378
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 23 Nov 2020 11:18:48 -0800 |
parents | 5c2a4f37eace |
children | 122f0b59f5f0 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
1278 ../shared/subrepo-2/.hg/wcache/checklink (symlink !) | 1278 ../shared/subrepo-2/.hg/wcache/checklink (symlink !) |
1279 ../shared/subrepo-2/.hg/wcache/checklink-target (symlink !) | 1279 ../shared/subrepo-2/.hg/wcache/checklink-target (symlink !) |
1280 ../shared/subrepo-2/.hg/wcache/manifestfulltextcache (reporevlogstore !) | 1280 ../shared/subrepo-2/.hg/wcache/manifestfulltextcache (reporevlogstore !) |
1281 ../shared/subrepo-2/file | 1281 ../shared/subrepo-2/file |
1282 $ hg -R ../shared in | 1282 $ hg -R ../shared in |
1283 abort: repository default not found! | 1283 abort: repository default not found |
1284 [255] | 1284 [255] |
1285 $ hg -R ../shared/subrepo-2 showconfig paths | 1285 $ hg -R ../shared/subrepo-2 showconfig paths |
1286 paths.default=$TESTTMP/subrepo-status/subrepo-2 | 1286 paths.default=$TESTTMP/subrepo-status/subrepo-2 |
1287 $ hg -R ../shared/subrepo-1 sum --remote | 1287 $ hg -R ../shared/subrepo-1 sum --remote |
1288 parent: -1:000000000000 tip (empty repository) | 1288 parent: -1:000000000000 tip (empty repository) |
1962 $ cd .. | 1962 $ cd .. |
1963 $ rm -r malicious-proxycommand-clone | 1963 $ rm -r malicious-proxycommand-clone |
1964 $ hg clone malicious-proxycommand malicious-proxycommand-clone | 1964 $ hg clone malicious-proxycommand malicious-proxycommand-clone |
1965 updating to branch default | 1965 updating to branch default |
1966 cloning subrepo s from ssh://fakehost%7Ctouch%24%7BIFS%7Downed/path | 1966 cloning subrepo s from ssh://fakehost%7Ctouch%24%7BIFS%7Downed/path |
1967 abort: no suitable response from remote hg! | 1967 abort: no suitable response from remote hg |
1968 [255] | 1968 [255] |
1969 $ [ ! -f owned ] || echo 'you got owned' | 1969 $ [ ! -f owned ] || echo 'you got owned' |
1970 | 1970 |
1971 also check that a percent encoded '|' (%7C) doesn't work | 1971 also check that a percent encoded '|' (%7C) doesn't work |
1972 | 1972 |
1976 $ cd .. | 1976 $ cd .. |
1977 $ rm -r malicious-proxycommand-clone | 1977 $ rm -r malicious-proxycommand-clone |
1978 $ hg clone malicious-proxycommand malicious-proxycommand-clone | 1978 $ hg clone malicious-proxycommand malicious-proxycommand-clone |
1979 updating to branch default | 1979 updating to branch default |
1980 cloning subrepo s from ssh://fakehost%7Ctouch%20owned/path | 1980 cloning subrepo s from ssh://fakehost%7Ctouch%20owned/path |
1981 abort: no suitable response from remote hg! | 1981 abort: no suitable response from remote hg |
1982 [255] | 1982 [255] |
1983 $ [ ! -f owned ] || echo 'you got owned' | 1983 $ [ ! -f owned ] || echo 'you got owned' |
1984 | 1984 |
1985 and bad usernames: | 1985 and bad usernames: |
1986 $ cd malicious-proxycommand | 1986 $ cd malicious-proxycommand |