##// END OF EJS Templates
test-http: drop compatibility check on Python >= 2.4.3...
Gilles Moris -
r25106:6f15114b default
parent child Browse files
Show More
@@ -281,10 +281,6 b' def has_pygments():'
281 except ImportError:
281 except ImportError:
282 return False
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 @check("json", "some json module available")
284 @check("json", "some json module available")
289 def has_json():
285 def has_json():
290 try:
286 try:
@@ -166,7 +166,6 b' test http authentication'
166 > getpass.getpass = newgetpass
166 > getpass.getpass = newgetpass
167 > EOF
167 > EOF
168
168
169 #if python243
170 $ hg id http://localhost:$HGPORT2/
169 $ hg id http://localhost:$HGPORT2/
171 abort: http authorization required for http://localhost:$HGPORT2/
170 abort: http authorization required for http://localhost:$HGPORT2/
172 [255]
171 [255]
@@ -180,7 +179,6 b' test http authentication'
180 password: 5fed3813f7f5
179 password: 5fed3813f7f5
181 $ hg id http://user:pass@localhost:$HGPORT2/
180 $ hg id http://user:pass@localhost:$HGPORT2/
182 5fed3813f7f5
181 5fed3813f7f5
183 #endif
184 $ echo '[auth]' >> .hg/hgrc
182 $ echo '[auth]' >> .hg/hgrc
185 $ echo 'l.schemes=http' >> .hg/hgrc
183 $ echo 'l.schemes=http' >> .hg/hgrc
186 $ echo 'l.prefix=lo' >> .hg/hgrc
184 $ echo 'l.prefix=lo' >> .hg/hgrc
@@ -192,7 +190,6 b' test http authentication'
192 5fed3813f7f5
190 5fed3813f7f5
193 $ hg id http://user@localhost:$HGPORT2/
191 $ hg id http://user@localhost:$HGPORT2/
194 5fed3813f7f5
192 5fed3813f7f5
195 #if python243
196 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1
193 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1
197 streaming all changes
194 streaming all changes
198 7 files to transfer, 916 bytes of data
195 7 files to transfer, 916 bytes of data
@@ -291,7 +288,6 b' test http authentication'
291 "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=686173686564+5eb5abfefeea63c80dd7553bcc3783f37e0c5524
288 "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=686173686564+5eb5abfefeea63c80dd7553bcc3783f37e0c5524
292 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases
289 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases
293
290
294 #endif
295 $ cd ..
291 $ cd ..
296
292
297 clone of serve with repo in root and unserved subrepo (issue2970)
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