Mercurial > public > mercurial-scm > hg-stable
diff tests/test-http-bundle1.t @ 45858: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 | 94faa2e84094 |
children | 84a93fa7ecfd |
line wrap: on
line diff
--- a/tests/test-http-bundle1.t Thu Nov 12 21:56:52 2020 -0800 +++ b/tests/test-http-bundle1.t Thu Oct 22 13:31:34 2020 -0700 @@ -178,7 +178,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 @@ -250,7 +250,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/ @@ -338,7 +338,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 @@ -349,7 +349,7 @@ updating to branch default cloning subrepo sub from http://localhost:$HGPORT/sub abort: HTTP Error 404: Not Found - [255] + [100] check error log @@ -364,7 +364,7 @@ requesting all changes abort: remote error: this is an exercise - [255] + [100] $ cat error.log disable pull-based clones @@ -375,7 +375,7 @@ requesting all changes abort: remote error: server has pull-based clones disabled - [255] + [100] #if no-reposimplestore ... but keep stream clones working