stg push --undo
'
+test_expect_success \
+ 'Check the push after undo fails as well' \
+ '
+ ! stg push bar
+ '
+
+test_expect_success \
+ 'Undo with disappeared newborn' \
+ '
+ touch newfile &&
+ stg add newfile &&
+ rm newfile &&
+ stg push --undo
+ '
+
test_done