Show More
@@ -595,3 +595,31 b' additional `.orig` backup file when appl' | |||
|
595 | 595 | $ cd .. |
|
596 | 596 | $ diff -U 0 -- content-base.txt content-base-all.txt | grep _ |
|
597 | 597 | [1] |
|
598 | ||
|
599 | Test revert to parent content with explicit file name | |
|
600 | ----------------------------------------------------- | |
|
601 | ||
|
602 | (setup from reference repo) | |
|
603 | ||
|
604 | $ cp -r revert-ref revert-parent-explicit | |
|
605 | $ cd revert-parent-explicit | |
|
606 | ||
|
607 | revert all files individually and check the output | |
|
608 | (output is expected to be different than in the --all case) | |
|
609 | ||
|
610 | $ for file in `python ../gen-revert-cases.py filelist`; do | |
|
611 | > echo '### revert for:' $file; | |
|
612 | > hg revert $file; | |
|
613 | > echo | |
|
614 | > done | |
|
615 | ### revert for: modified_clean | |
|
616 | no changes needed to modified_clean | |
|
617 | ||
|
618 | ||
|
619 | check resulting directory againt the --all run | |
|
620 | (There should be no difference) | |
|
621 | ||
|
622 | $ python ../dircontent.py > ../content-parent-explicit.txt | |
|
623 | $ cd .. | |
|
624 | $ diff -U 0 -- content-parent-all.txt content-parent-explicit.txt | grep _ | |
|
625 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now