merge: mute the status message when bid merge kicks in
authorMads Kiilerich <madski@unity3d.com>
Wed, 01 Oct 2014 03:42:00 +0200
changeset 22673 16a46003b50c
parent 22672 19903277f035
child 22674 06c8b58647b9
merge: mute the status message when bid merge kicks in Bid merge is now the default and it is not necessary to tell the user that an experimental feature kicked in. (It could however still be relevant to get a notice that it is one of the rare criss-cross merge situations so the user is warned that the situation is more tricky than usual.)
mercurial/merge.py
tests/test-merge-criss-cross.t
--- a/mercurial/merge.py	Wed Oct 01 03:41:11 2014 +0200
+++ b/mercurial/merge.py	Wed Oct 01 03:42:00 2014 +0200
@@ -780,7 +780,7 @@
                                 partial, acceptremote, followcopies)
 
     else: # only when merge.preferancestor=* - the default
-        repo.ui.status(
+        repo.ui.note(
             _("note: merging %s and %s using bids from ancestors %s\n") %
             (wctx, mctx, _(' and ').join(str(anc) for anc in ancestors)))
 
--- a/tests/test-merge-criss-cross.t	Wed Oct 01 03:41:11 2014 +0200
+++ b/tests/test-merge-criss-cross.t	Wed Oct 01 03:42:00 2014 +0200
@@ -210,7 +210,6 @@
 
   $ hg up -qC
   $ hg merge
-  note: merging 3b08d01b0ab5+ and adfe50279922 using bids from ancestors 0f6b37dbe527 and 40663881a6dd
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   (branch merge, don't forget to commit)