Show More
@@ -281,10 +281,6 b' def has_pygments():' | |||
|
281 | 281 | except ImportError: |
|
282 | 282 | return False |
|
283 | 283 | |
|
284 | @check("python243", "python >= 2.4.3") | |
|
285 | def has_python243(): | |
|
286 | return sys.version_info >= (2, 4, 3) | |
|
287 | ||
|
288 | 284 | @check("json", "some json module available") |
|
289 | 285 | def has_json(): |
|
290 | 286 | try: |
@@ -166,7 +166,6 b' test http authentication' | |||
|
166 | 166 | > getpass.getpass = newgetpass |
|
167 | 167 | > EOF |
|
168 | 168 | |
|
169 | #if python243 | |
|
170 | 169 | $ hg id http://localhost:$HGPORT2/ |
|
171 | 170 | abort: http authorization required for http://localhost:$HGPORT2/ |
|
172 | 171 | [255] |
@@ -180,7 +179,6 b' test http authentication' | |||
|
180 | 179 | password: 5fed3813f7f5 |
|
181 | 180 | $ hg id http://user:pass@localhost:$HGPORT2/ |
|
182 | 181 | 5fed3813f7f5 |
|
183 | #endif | |
|
184 | 182 | $ echo '[auth]' >> .hg/hgrc |
|
185 | 183 | $ echo 'l.schemes=http' >> .hg/hgrc |
|
186 | 184 | $ echo 'l.prefix=lo' >> .hg/hgrc |
@@ -192,7 +190,6 b' test http authentication' | |||
|
192 | 190 | 5fed3813f7f5 |
|
193 | 191 | $ hg id http://user@localhost:$HGPORT2/ |
|
194 | 192 | 5fed3813f7f5 |
|
195 | #if python243 | |
|
196 | 193 | $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1 |
|
197 | 194 | streaming all changes |
|
198 | 195 | 7 files to transfer, 916 bytes of data |
@@ -291,7 +288,6 b' test http authentication' | |||
|
291 | 288 | "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=686173686564+5eb5abfefeea63c80dd7553bcc3783f37e0c5524 |
|
292 | 289 | "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases |
|
293 | 290 | |
|
294 | #endif | |
|
295 | 291 | $ cd .. |
|
296 | 292 | |
|
297 | 293 | clone of serve with repo in root and unserved subrepo (issue2970) |
General Comments 0
You need to be logged in to leave comments.
Login now