summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5b7169c)
This should fail cleanly -- and in fact it does. Except for printing
an assertion backtrace instead of a nice error message. (This is a
regression introduced by the conversion of "stg uncommit" to the new
infrastructure.)
Found by Erik Sandberg <mandolaerik@gmail.com>.
Signed-off-by: Karl Hasselström <kha@treskal.com>
+test_expect_failure 'Uncommit a commit with not precisely one parent' '
+ stg uncommit -n 5 ; [ $? = 2 ] &&
+ [ "$(echo $(stg series))" = "" ]
+'
+