##// END OF EJS Templates
test-revert: add methodical revert to "base"...
Pierre-Yves David -
r22129:f0147ff1 default
parent child Browse files
Show More
@@ -572,3 +572,26 b' additional `.orig` backup file when appl'
572 $ cd ..
572 $ cd ..
573 $ diff -U 0 -- content-parent.txt content-parent-all.txt | grep _
573 $ diff -U 0 -- content-parent.txt content-parent-all.txt | grep _
574 [1]
574 [1]
575
576 Test revert --all to "base" content
577 -----------------------------------
578
579 (setup from reference repo)
580
581 $ cp -r revert-ref revert-base-all
582 $ cd revert-base-all
583
584 check revert output
585
586 $ hg revert --all --rev 'desc(base)'
587 reverting modified_clean
588
589 Compare resulting directory with revert target.
590
591 The diff is filtered to include change only. The only difference should be
592 additional `.orig` backup file when applicable.
593
594 $ python ../dircontent.py > ../content-base-all.txt
595 $ cd ..
596 $ diff -U 0 -- content-base.txt content-base-all.txt | grep _
597 [1]
General Comments 0
You need to be logged in to leave comments. Login now