##// END OF EJS Templates
test-glog: rewrite more tests using testlog() function
Patrick Mezard -
r16183:112a70c5 default
parent child Browse files
Show More
@@ -1456,35 +1456,12 b' glog always reorders nodes which explain'
1456 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge')))))
1456 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge')))))
1457 $ hg log -G --removed --template 'nodetag {rev}\n' | grep nodetag | wc -l
1457 $ hg log -G --removed --template 'nodetag {rev}\n' | grep nodetag | wc -l
1458 \s*0 (re)
1458 \s*0 (re)
1459 $ hg log -G --only-merges --template 'nodetag {rev}\n' | grep nodetag | wc -l
1459 $ testlog --only-merges
1460 \s*28 (re)
1460 ('group', ('func', ('symbol', 'merge'), None))
1461 $ hg log -G --no-merges --template 'nodetag {rev}\n'
1461 $ testlog --no-merges
1462 o nodetag 35
1462 ('group', ('not', ('func', ('symbol', 'merge'), None)))
1463 |
1463 $ testlog --date '2 0 to 4 0'
1464 o nodetag 34
1464 ('group', ('func', ('symbol', 'date'), ('string', '2 0 to 4 0')))
1465 |\
1466 | \
1467 | |\
1468 | | \
1469 | | |\
1470 | | | \
1471 | | | |\
1472 | | | | \
1473 | | | | |\
1474 +-+-+-+-----o nodetag 33
1475 | | | | | |
1476 +---------o nodetag 29
1477 | | | | |
1478 +-+-+---o nodetag 27
1479 | | | |/
1480 | | | o nodetag 3
1481 | | |/
1482 | | o nodetag 2
1483 | |/
1484 | o nodetag 1
1485 |/
1486 o nodetag 0
1487
1488 $ hg log -G -d 'brace ) in a date'
1465 $ hg log -G -d 'brace ) in a date'
1489 abort: invalid date: 'brace ) in a date'
1466 abort: invalid date: 'brace ) in a date'
1490 [255]
1467 [255]
General Comments 0
You need to be logged in to leave comments. Login now