comparison tests/test-subrepo-deep-nested-change.t @ 37556:b77aa48ba690

httppeer: only advertise partial-pull if capabilities are known We don't need to be advertising client protocol parameters as part of the capabilities request during the handshake because nothing in version 1 of the wire protocol will use this data. i.e. the advertisement is wasteful. Differential Revision: https://phab.mercurial-scm.org/D3241
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 10 Apr 2018 18:13:28 -0700
parents aacfca6f9767
children cd196be26cb7
comparison
equal deleted inserted replaced
37555:930c433eb311 37556:b77aa48ba690
110 updating to branch default 110 updating to branch default
111 abort: HTTP Error 404: Not Found 111 abort: HTTP Error 404: Not Found
112 [255] 112 [255]
113 113
114 $ cat access.log 114 $ cat access.log
115 * "GET /?cmd=capabilities HTTP/1.1" 200 - * (glob) 115 * "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
116 * "GET /?cmd=batch HTTP/1.1" 200 - * (glob) 116 * "GET /?cmd=batch HTTP/1.1" 200 - * (glob)
117 * "GET /?cmd=getbundle HTTP/1.1" 200 - * (glob) 117 * "GET /?cmd=getbundle HTTP/1.1" 200 - * (glob)
118 * "GET /../sub1?cmd=capabilities HTTP/1.1" 404 - * (glob) 118 * "GET /../sub1?cmd=capabilities HTTP/1.1" 404 - (glob)
119 $ cat error.log 119 $ cat error.log
120 120
121 $ killdaemons.py 121 $ killdaemons.py
122 $ rm hg1.pid error.log access.log 122 $ rm hg1.pid error.log access.log
123 #endif 123 #endif