--- a/tests/test-histedit-bookmark-motion.t Tue Apr 16 20:48:37 2013 +0200
+++ b/tests/test-histedit-bookmark-motion.t Tue Apr 16 21:57:25 2013 -0500
@@ -76,14 +76,13 @@
# m, mess = edit message without changing commit content
#
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
- $ cat >> commands.txt <<EOF
+ $ hg histedit 1 --commands - --verbose << EOF | grep histedit
> pick 177f92b77385 2 c
> drop d2ae7f538514 1 b
> pick 055a42cdd887 3 d
> fold e860deea161a 4 e
> pick 652413bf663e 5 f
> EOF
- $ hg histedit 1 --commands commands.txt --verbose | grep histedit
histedit: moving bookmarks also-two from 177f92b77385 to b346ab9a313d
histedit: moving bookmarks five from 652413bf663e to cacdfd884a93
histedit: moving bookmarks four from e860deea161a to 59d9f330561f
@@ -135,12 +134,11 @@
# m, mess = edit message without changing commit content
#
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
- $ cat > commands.txt << EOF
+ $ hg histedit 1 --commands - --verbose << EOF | grep histedit
> pick b346ab9a313d 1 c
> pick cacdfd884a93 3 f
> pick 59d9f330561f 2 d
> EOF
- $ hg histedit 1 --commands commands.txt --verbose | grep histedit
histedit: moving bookmarks five from cacdfd884a93 to c04e50810e4b
histedit: moving bookmarks four from 59d9f330561f to c04e50810e4b
histedit: moving bookmarks three from 59d9f330561f to c04e50810e4b