comparison tests/test-histedit-arguments.t @ 19044:f77c23ec09f7

histedit-test: test unknown command We had no tested for this case.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 18 Apr 2013 13:51:27 +0200
parents 7d27d80185f0
children 81de87f8b480
comparison
equal deleted inserted replaced
19043:7d27d80185f0 19044:f77c23ec09f7
111 > pick 08d98a8350f3 4 five 111 > pick 08d98a8350f3 4 five
112 > EOF 112 > EOF
113 abort: unknown changeset 0123456789ab listed 113 abort: unknown changeset 0123456789ab listed
114 [255] 114 [255]
115 115
116 Test unknown command
117 ---------------------------------------
118
119 $ HGEDITOR=cat hg histedit "tip^^" --commands - << EOF
120 > coin eb57da33312f 2 three
121 > pick c8e68270e35a 3 four
122 > pick 08d98a8350f3 4 five
123 > EOF
124 abort: unknown action "coin"
125 [255]
126
116 Test short version of command 127 Test short version of command
117 --------------------------------------- 128 ---------------------------------------
118 129
119 Note: we use varying amounts of white space between command name and changeset 130 Note: we use varying amounts of white space between command name and changeset
120 short hash. This tests issue3893. 131 short hash. This tests issue3893.