Better error message if merge fails
authorKarl Hasselström <kha@treskal.com>
Wed, 19 Dec 2007 18:00:12 +0000 (18:00 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 19 Dec 2007 23:13:30 +0000 (23:13 +0000)
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 <kha@treskal.com>
stgit/stack.py

index 3468547..b6f6131 100644 (file)
@@ -1109,8 +1109,7 @@ class Series(PatchSet):
                 ex.list()
             except git.GitException, ex:
                 out.error('The merge failed during "push".',
                 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)
 
 
         append_string(self.__applied_file, name)