tests/test-revert.t
changeset 22611 2ff28e07d7d6
parent 22208 d3659b3795e9
child 23134 22e76e370611
child 23403 edf29f9c15f0
equal deleted inserted replaced
22610:0f323ed8effd 22611:2ff28e07d7d6
   938 Compare resulting directory with revert target.
   938 Compare resulting directory with revert target.
   939 
   939 
   940 The diff is filtered to include change only. The only difference should be
   940 The diff is filtered to include change only. The only difference should be
   941 additional `.orig` backup file when applicable.
   941 additional `.orig` backup file when applicable.
   942 
   942 
   943 Misbehavior:
       
   944 
       
   945 - no backup for
       
   946 | - added_wc (DATA LOSS)
       
   947 
       
   948   $ python ../dircontent.py > ../content-base-all.txt
   943   $ python ../dircontent.py > ../content-base-all.txt
   949   $ cd ..
   944   $ cd ..
   950   $ diff -U 0 -- content-base.txt content-base-all.txt | grep _
   945   $ diff -U 0 -- content-base.txt content-base-all.txt | grep _
   951   +parent added_untracked-clean
   946   +parent added_untracked-clean
   952   +wc     added_untracked-wc
   947   +wc     added_untracked-wc
       
   948   +wc     added_wc.orig
   953   +wc     clean_untracked-wc.orig
   949   +wc     clean_untracked-wc.orig
   954   +wc     clean_wc.orig
   950   +wc     clean_wc.orig
   955   +wc     missing_untracked-wc
   951   +wc     missing_untracked-wc
   956   +wc     missing_wc
   952   +wc     missing_wc
   957   +parent modified_untracked-clean.orig
   953   +parent modified_untracked-clean.orig