Mercurial > evolve
comparison tests/test-evolve-obshistory.t @ 2420:94d1c7a1905a
obshistory: add a json test with cycles
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 18 May 2017 18:35:34 +0200 |
parents | 23c0bef0b5d4 |
children | 0405bbda7402 80b5fc054219 e3ddb534e5d9 |
comparison
equal
deleted
inserted
replaced
2419:4ac190d88b57 | 2420:94d1c7a1905a |
---|---|
1443 | | rewritten by test (*20*) as 2a34000d3544, 868d2e0eb19c (glob) | 1443 | | rewritten by test (*20*) as 2a34000d3544, 868d2e0eb19c (glob) |
1444 | | | 1444 | | |
1445 x | c473644ee0e9 (2) B | 1445 x | c473644ee0e9 (2) B |
1446 | | rewritten by test (*20*) as a8df460dbbfe (glob) | 1446 | | rewritten by test (*20*) as a8df460dbbfe (glob) |
1447 | | | 1447 | | |
1448 | |
1449 Check the json output is valid in this case | |
1450 | |
1451 $ hg olog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool | |
1452 [ | |
1453 { | |
1454 "debugobshistory.markers": [ | |
1455 { | |
1456 "debugobshistory.marker_date": [ | |
1457 *, (glob) | |
1458 0 | |
1459 ], | |
1460 "debugobshistory.marker_user": "test", | |
1461 "debugobshistory.succnodes": [ | |
1462 "0da815c333f6" | |
1463 ], | |
1464 "debugobshistory.verb": "rewritten" | |
1465 } | |
1466 ], | |
1467 "debugobshistory.node": "868d2e0eb19c", | |
1468 "debugobshistory.rev": 4, | |
1469 "debugobshistory.shortdescription": "D" | |
1470 }, | |
1471 { | |
1472 "debugobshistory.markers": [ | |
1473 { | |
1474 "debugobshistory.marker_date": [ | |
1475 *, (glob) | |
1476 0 | |
1477 ], | |
1478 "debugobshistory.marker_user": "test", | |
1479 "debugobshistory.succnodes": [ | |
1480 "868d2e0eb19c" | |
1481 ], | |
1482 "debugobshistory.verb": "rewritten" | |
1483 } | |
1484 ], | |
1485 "debugobshistory.node": "d9f908fde1a1", | |
1486 "debugobshistory.rev": 6, | |
1487 "debugobshistory.shortdescription": "F" | |
1488 }, | |
1489 { | |
1490 "debugobshistory.markers": [ | |
1491 { | |
1492 "debugobshistory.marker_date": [ | |
1493 *, (glob) | |
1494 0 | |
1495 ], | |
1496 "debugobshistory.marker_user": "test", | |
1497 "debugobshistory.succnodes": [ | |
1498 "d9f908fde1a1" | |
1499 ], | |
1500 "debugobshistory.verb": "rewritten" | |
1501 } | |
1502 ], | |
1503 "debugobshistory.node": "0da815c333f6", | |
1504 "debugobshistory.rev": 5, | |
1505 "debugobshistory.shortdescription": "E" | |
1506 }, | |
1507 { | |
1508 "debugobshistory.markers": [ | |
1509 { | |
1510 "debugobshistory.marker_date": [ | |
1511 *, (glob) | |
1512 0 | |
1513 ], | |
1514 "debugobshistory.marker_user": "test", | |
1515 "debugobshistory.succnodes": [ | |
1516 "2a34000d3544", | |
1517 "868d2e0eb19c" | |
1518 ], | |
1519 "debugobshistory.verb": "rewritten" | |
1520 } | |
1521 ], | |
1522 "debugobshistory.node": "a8df460dbbfe", | |
1523 "debugobshistory.rev": 3, | |
1524 "debugobshistory.shortdescription": "C" | |
1525 }, | |
1526 { | |
1527 "debugobshistory.markers": [ | |
1528 { | |
1529 "debugobshistory.marker_date": [ | |
1530 *, (glob) | |
1531 0 | |
1532 ], | |
1533 "debugobshistory.marker_user": "test", | |
1534 "debugobshistory.succnodes": [ | |
1535 "a8df460dbbfe" | |
1536 ], | |
1537 "debugobshistory.verb": "rewritten" | |
1538 } | |
1539 ], | |
1540 "debugobshistory.node": "c473644ee0e9", | |
1541 "debugobshistory.rev": 2, | |
1542 "debugobshistory.shortdescription": "B" | |
1543 }, | |
1544 { | |
1545 "debugobshistory.markers": [ | |
1546 { | |
1547 "debugobshistory.marker_date": [ | |
1548 *, (glob) | |
1549 0 | |
1550 ], | |
1551 "debugobshistory.marker_user": "test", | |
1552 "debugobshistory.succnodes": [ | |
1553 "c473644ee0e9" | |
1554 ], | |
1555 "debugobshistory.verb": "rewritten" | |
1556 } | |
1557 ], | |
1558 "debugobshistory.node": "2a34000d3544", | |
1559 "debugobshistory.rev": 1, | |
1560 "debugobshistory.shortdescription": "A" | |
1561 } | |
1562 ] |