Improve unresolved merge conflicts warning (issue2681) stable
authorPatrick Mezard <pmezard@gmail.com>
Sun, 06 Mar 2011 15:21:50 +0100
branchstable
changeset 13541 919174c0aaff
parent 13534 4ec34de8bbb1
child 13542 6e3bf361f70c
child 13543 c17e4d881722
Improve unresolved merge conflicts warning (issue2681) Suggested by Antoine Pitrou <pitrou@free.fr>
mercurial/localrepo.py
tests/test-commit-unresolved.t
tests/test-rebase-conflicts.t
--- a/mercurial/localrepo.py	Fri Mar 04 19:21:12 2011 -0600
+++ b/mercurial/localrepo.py	Sun Mar 06 15:21:50 2011 +0100
@@ -976,7 +976,7 @@
             for f in changes[0]:
                 if f in ms and ms[f] == 'u':
                     raise util.Abort(_("unresolved merge conflicts "
-                                                    "(see hg resolve)"))
+                                       "(see hg help resolve)"))
 
             cctx = context.workingctx(self, text, user, date, extra, changes)
             if editor:
--- a/tests/test-commit-unresolved.t	Fri Mar 04 19:21:12 2011 -0600
+++ b/tests/test-commit-unresolved.t	Sun Mar 06 15:21:50 2011 +0100
@@ -38,7 +38,7 @@
 
   $ echo "ABCD" > A
   $ hg commit -m "Merged"
-  abort: unresolved merge conflicts (see hg resolve)
+  abort: unresolved merge conflicts (see hg help resolve)
   [255]
 
 Mark the conflict as resolved and commit
--- a/tests/test-rebase-conflicts.t	Fri Mar 04 19:21:12 2011 -0600
+++ b/tests/test-rebase-conflicts.t	Sun Mar 06 15:21:50 2011 +0100
@@ -65,7 +65,7 @@
 Try to continue without solving the conflict:
 
   $ hg rebase --continue 
-  abort: unresolved merge conflicts (see hg resolve)
+  abort: unresolved merge conflicts (see hg help resolve)
   [255]
 
 Conclude rebase: