equal
deleted
inserted
replaced
549 $ cat ../content-wc.txt |
549 $ cat ../content-wc.txt |
550 parent modified_clean |
550 parent modified_clean |
551 |
551 |
552 $ cd .. |
552 $ cd .. |
553 |
553 |
|
554 Test revert --all to parent content |
|
555 ----------------------------------- |
|
556 |
|
557 (setup from reference repo) |
|
558 |
|
559 $ cp -r revert-ref revert-parent-all |
|
560 $ cd revert-parent-all |
|
561 |
|
562 check revert output |
|
563 |
|
564 $ hg revert --all |
|
565 |
|
566 Compare resulting directory with revert target. |
|
567 |
|
568 The diff is filtered to include change only. The only difference should be |
|
569 additional `.orig` backup file when applicable. |
|
570 |
|
571 $ python ../dircontent.py > ../content-parent-all.txt |
|
572 $ cd .. |
|
573 $ diff -U 0 -- content-parent.txt content-parent-all.txt | grep _ |
|
574 [1] |