##// END OF EJS Templates
test-revert: add methodical revert to parent for working directory...
Pierre-Yves David -
r22128:db23fb4e default
parent child Browse files
Show More
@@ -551,3 +551,24 b' Setup working directory'
551 551
552 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]
General Comments 0
You need to be logged in to leave comments. Login now