Show More
@@ -623,3 +623,30 b' check resulting directory againt the --a' | |||
|
623 | 623 | $ cd .. |
|
624 | 624 | $ diff -U 0 -- content-parent-all.txt content-parent-explicit.txt | grep _ |
|
625 | 625 | [1] |
|
626 | ||
|
627 | Test revert to "base" content with explicit file name | |
|
628 | ----------------------------------------------------- | |
|
629 | ||
|
630 | (setup from reference repo) | |
|
631 | ||
|
632 | $ cp -r revert-ref revert-base-explicit | |
|
633 | $ cd revert-base-explicit | |
|
634 | ||
|
635 | revert all files individually and check the output | |
|
636 | (output is expected to be different than in the --all case) | |
|
637 | ||
|
638 | $ for file in `python ../gen-revert-cases.py filelist`; do | |
|
639 | > echo '### revert for:' $file; | |
|
640 | > hg revert $file --rev 'desc(base)'; | |
|
641 | > echo | |
|
642 | > done | |
|
643 | ### revert for: modified_clean | |
|
644 | ||
|
645 | ||
|
646 | check resulting directory againt the --all run | |
|
647 | (There should be no difference) | |
|
648 | ||
|
649 | $ python ../dircontent.py > ../content-base-explicit.txt | |
|
650 | $ cd .. | |
|
651 | $ diff -U 0 -- content-base-all.txt content-base-explicit.txt | grep _ | |
|
652 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now