Mercurial > public > mercurial-scm > hg
diff tests/test-http.t @ 45839:ebee234d952a
errors: set detailed exit code to 100 for some remote errors
This is per https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan.
Differential Revision: https://phab.mercurial-scm.org/D9309
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 22 Oct 2020 13:31:34 -0700 |
parents | ff48eea4a926 |
children | 7015b0232c5e |
line wrap: on
line diff
--- a/tests/test-http.t Thu Nov 12 21:56:52 2020 -0800 +++ b/tests/test-http.t Thu Oct 22 13:31:34 2020 -0700 @@ -167,7 +167,7 @@ $ hg clone http://localhost:$HGPORT/bad abort: HTTP Error 404: Not Found - [255] + [100] test http authentication + use the same server to test server side streaming preference @@ -283,7 +283,7 @@ [255] $ hg id http://user:pass2@localhost:$HGPORT2/ abort: HTTP Error 403: no - [255] + [100] $ hg -R dest-pull tag -r tip top $ hg -R dest-pull push http://user:pass@localhost:$HGPORT2/ @@ -475,7 +475,7 @@ updating to branch default cloning subrepo sub from http://localhost:$HGPORT/sub abort: HTTP Error 404: Not Found - [255] + [100] $ hg clone http://localhost:$HGPORT/ slash-clone requesting all changes adding changesets @@ -486,7 +486,7 @@ updating to branch default cloning subrepo sub from http://localhost:$HGPORT/sub abort: HTTP Error 404: Not Found - [255] + [100] check error log @@ -588,7 +588,7 @@ $ hg id http://localhost:$HGPORT abort: HTTP Error 500: no-cookie - [255] + [100] Populate a cookies file @@ -602,7 +602,7 @@ $ hg --config auth.cookiefile=cookies.txt id http://localhost:$HGPORT/ abort: HTTP Error 500: no-cookie - [255] + [100] Add a cookie entry for our test server and verify it is sent @@ -612,4 +612,4 @@ $ hg --config auth.cookiefile=cookies.txt id http://localhost:$HGPORT/ abort: HTTP Error 500: Cookie: hgkey=localhostvalue - [255] + [100]