comparison tests/test-histedit-drop.t @ 27545:a67d2e059a51

histedit: use parse-error exception for parsing
author timeless <timeless@mozdev.org>
date Sun, 27 Dec 2015 03:33:09 +0000
parents 6602a7b9deec
children 34165875fa5d
comparison
equal deleted inserted replaced
27544:a4f008612727 27545:a67d2e059a51
150 150
151 $ hg histedit cb9a9f314b8b --commands - 2>&1 << EOF | fixbundle 151 $ hg histedit cb9a9f314b8b --commands - 2>&1 << EOF | fixbundle
152 > pick cb9a9f314b8b a 152 > pick cb9a9f314b8b a
153 > pick ee283cb5f2d5 e 153 > pick ee283cb5f2d5 e
154 > EOF 154 > EOF
155 abort: missing rules for changeset a4f7421b80f7 155 hg: parse error: missing rules for changeset a4f7421b80f7
156 (use "drop a4f7421b80f7" to discard, see also: "hg help -e histedit.config") 156 (use "drop a4f7421b80f7" to discard, see also: "hg help -e histedit.config")
157 $ hg --config histedit.dropmissing=True histedit cb9a9f314b8b --commands - 2>&1 << EOF | fixbundle 157 $ hg --config histedit.dropmissing=True histedit cb9a9f314b8b --commands - 2>&1 << EOF | fixbundle
158 > pick cb9a9f314b8b a 158 > pick cb9a9f314b8b a
159 > pick ee283cb5f2d5 e 159 > pick ee283cb5f2d5 e
160 > EOF 160 > EOF