changeset 13541:919174c0aaff stable

Improve unresolved merge conflicts warning (issue2681) Suggested by Antoine Pitrou <pitrou@free.fr>
author Patrick Mezard <pmezard@gmail.com>
date Sun, 06 Mar 2011 15:21:50 +0100
parents 4ec34de8bbb1
children 6e3bf361f70c c17e4d881722
files mercurial/localrepo.py tests/test-commit-unresolved.t tests/test-rebase-conflicts.t
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: