Source

histedit / tests / test-histedit-fold-non-commute

Diff from to

File tests/test-histedit-fold-non-commute

 echo % fix up
 echo a > e
 hg add e
-HGEDITOR=cat hg histedit --continue 2>&1 | fixbundle
+cat > cat.py <<EOF
+import sys
+print open(sys.argv[1]).read()
+print
+print
+EOF
+HGEDITOR="python cat.py" hg histedit --continue 2>&1 | fixbundle | grep -v '2 files removed'
 
 echo
 echo % just continue this time
 hg histedit --continue 2>&1 | fixbundle
 
+
 echo % log after edit
 hg log --graph