Improve display of newlines around error and warning messages.

This commit is contained in:
Joey Hess 2011-09-06 13:46:08 -04:00
parent 14f75ced75
commit 07125dca53
5 changed files with 23 additions and 7 deletions

View file

@ -89,8 +89,8 @@ tryRun' errnum state (a:as) = do
case result of
Left err -> do
Annex.eval state $ do
showEndFail
showErr err
showEndFail
tryRun' (errnum + 1) state as
Right (True,state') -> tryRun' errnum state' as
Right (False,state') -> tryRun' (errnum + 1) state' as