Patch to clarify the "unsolved conflicts" message in Stacked Git
authorJason Green <jason@transgaming.com>
Thu, 18 Dec 2008 14:29:11 +0000 (09:29 -0500)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 2 Jan 2009 08:54:17 +0000 (08:54 +0000)
I recently started using Stacked Git to manage my patchsets, and it's
been a great tool.  However, I was a bit confused for a while on how
to resolve conflicts when a merge fails.  Here's a patch to hopefully
clarify that message a little.

Signed-off-by: Jason Green <jason@transgaming.com>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/common.py

index 10d0817..6bb3685 100644 (file)
@@ -96,8 +96,9 @@ def check_head_top_equal(crt_series):
 
 def check_conflicts():
     if git.get_conflicts():
-        raise CmdException('Unsolved conflicts. Please resolve them first'
-                           ' or revert the changes with "status --reset"')
+        raise CmdException('Unsolved conflicts. Please fix the conflicts'
+                           ' then use "resolve <files>" or revert the'
+                           ' changes with "status --reset".')
 
 def print_crt_patch(crt_series, branch = None):
     if not branch: