Try uncommitting a commit with not exactly one parent
authorKarl Hasselström <kha@treskal.com>
Thu, 20 Mar 2008 23:12:10 +0000 (23:12 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 20 Mar 2008 23:12:10 +0000 (23:12 +0000)
commitb9d9ba14bf9fc47ab1ae9c41e6e37029b9f31002
treeffdc1361904a93822d3c6ac856db351c678a105a
parent5b7169c024a96dd56e3e49e9ff5abf89f31593b2
Try uncommitting a commit with not exactly one parent

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>
t/t1300-uncommit.sh