From: Karl Hasselström Date: Wed, 19 Dec 2007 18:00:12 +0000 (+0000) Subject: Better error message if merge fails X-Git-Tag: v0.15-rc1~334 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/a008f844a95a45267933e23c6cda31f430b70ba6?ds=sidebyside Better error message if merge fails This message is no longer printed in case of conflicts, just in case the merge really failed; so don't talk about conflicts in the error message. Signed-off-by: Karl Hasselström --- diff --git a/stgit/stack.py b/stgit/stack.py index 3468547..b6f6131 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -1109,8 +1109,7 @@ class Series(PatchSet): ex.list() except git.GitException, ex: out.error('The merge failed during "push".', - 'Use "refresh" after fixing the conflicts or' - ' revert the operation with "push --undo".') + 'Revert the operation with "push --undo".') append_string(self.__applied_file, name)