comparison tests/test-incoming-outgoing.t @ 12366:c01dc9087d9a

tests: drop a bunch of sed calls from unified tests
author Matt Mackall <mpm@selenic.com>
date Tue, 21 Sep 2010 16:44:13 -0500
parents 4c94b6d0fb1c
children a5b77eb0409b
comparison
equal deleted inserted replaced
12365:22f3353bcc36 12366:c01dc9087d9a
18 18
19 $ hg init new 19 $ hg init new
20 20
21 http incoming 21 http incoming
22 22
23 $ hg -R new incoming http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/," 23 $ hg -R new incoming http://localhost:$HGPORT/
24 comparing with http://localhost:$HGPORT/ 24 comparing with http://localhost:\d+/
25 changeset: 0:00a43fa82f62 25 changeset: 0:00a43fa82f62
26 user: test 26 user: test
27 date: Thu Jan 01 00:00:00 1970 +0000 27 date: Thu Jan 01 00:00:00 1970 +0000
28 summary: 0 28 summary: 0
29 29
66 tag: tip 66 tag: tip
67 user: test 67 user: test
68 date: Thu Jan 01 00:00:00 1970 +0000 68 date: Thu Jan 01 00:00:00 1970 +0000
69 summary: 8 69 summary: 8
70 70
71 $ hg -R new incoming -r 4 http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/," 71 $ hg -R new incoming -r 4 http://localhost:$HGPORT/
72 comparing with http://localhost:$HGPORT/ 72 comparing with http://localhost:\d+/
73 changeset: 0:00a43fa82f62 73 changeset: 0:00a43fa82f62
74 user: test 74 user: test
75 date: Thu Jan 01 00:00:00 1970 +0000 75 date: Thu Jan 01 00:00:00 1970 +0000
76 summary: 0 76 summary: 0
77 77
219 +1 219 +1
220 220
221 221
222 test with --bundle 222 test with --bundle
223 223
224 $ hg -R new incoming --bundle test.hg http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/," 224 $ hg -R new incoming --bundle test.hg http://localhost:$HGPORT/
225 comparing with http://localhost:$HGPORT/ 225 comparing with http://localhost:.*/
226 changeset: 0:00a43fa82f62 226 changeset: 0:00a43fa82f62
227 user: test 227 user: test
228 date: Thu Jan 01 00:00:00 1970 +0000 228 date: Thu Jan 01 00:00:00 1970 +0000
229 summary: 0 229 summary: 0
230 230
417 changeset: 11:09ede2f3a638 417 changeset: 11:09ede2f3a638
418 user: test 418 user: test
419 date: Thu Jan 01 00:00:00 1970 +0000 419 date: Thu Jan 01 00:00:00 1970 +0000
420 summary: 11 420 summary: 11
421 421
422 $ hg -R test-dev outgoing http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/," 422 $ hg -R test-dev outgoing http://localhost:$HGPORT/
423 comparing with http://localhost:$HGPORT/ 423 comparing with http://localhost:.*/
424 searching for changes 424 searching for changes
425 changeset: 9:d89d4abea5bc 425 changeset: 9:d89d4abea5bc
426 user: test 426 user: test
427 date: Thu Jan 01 00:00:00 1970 +0000 427 date: Thu Jan 01 00:00:00 1970 +0000
428 summary: 9 428 summary: 9
446 tag: tip 446 tag: tip
447 user: test 447 user: test
448 date: Thu Jan 01 00:00:00 1970 +0000 448 date: Thu Jan 01 00:00:00 1970 +0000
449 summary: 13 449 summary: 13
450 450
451 $ hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/," 451 $ hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/
452 comparing with http://localhost:$HGPORT/ 452 comparing with http://localhost:.*/
453 searching for changes 453 searching for changes
454 changeset: 9:d89d4abea5bc 454 changeset: 9:d89d4abea5bc
455 user: test 455 user: test
456 date: Thu Jan 01 00:00:00 1970 +0000 456 date: Thu Jan 01 00:00:00 1970 +0000
457 summary: 9 457 summary: 9