# HG changeset patch # User Pierre-Yves David # Date 1366285772 -7200 # Node ID 52366b37f8978380bb9fd64924e5e473e7021ad4 # Parent 3b52b15e0b3d96a31761092c0e4e586305b1d393 histedit-test: test malformed line We had not tested for this case. diff -r 3b52b15e0b3d -r 52366b37f897 tests/test-histedit-arguments.t --- a/tests/test-histedit-arguments.t Thu Apr 18 11:54:31 2013 -0400 +++ b/tests/test-histedit-arguments.t Thu Apr 18 13:49:32 2013 +0200 @@ -91,6 +91,17 @@ abort: may not use changesets other than the ones listed [255] +Test malformed line +--------------------------------------- + + $ HGEDITOR=cat hg histedit "tip^^" --commands - << EOF + > pickeb57da33312f2three + > pick c8e68270e35a 3 four + > pick 08d98a8350f3 4 five + > EOF + abort: malformed line "pickeb57da33312f2three" + [255] + Test short version of command ---------------------------------------