changeset 14833:308e1b5acc87 stable

discovery: quiet note about heads This was changing output on in/out -v for no good reason.
author Matt Mackall <mpm@selenic.com>
date Tue, 05 Jul 2011 14:30:42 -0500
parents d60e4f227d75
children a2de9da4604d 6990340c57a8 cf85003ef918
files mercurial/setdiscovery.py tests/test-push-warn.t
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/setdiscovery.py	Mon Jul 04 19:53:39 2011 -0300
+++ b/mercurial/setdiscovery.py	Tue Jul 05 14:30:42 2011 -0500
@@ -124,7 +124,7 @@
 
     srvheads = dag.internalizeall(srvheadhashes, filterunknown=True)
     if len(srvheads) == len(srvheadhashes):
-        ui.note("all remote heads known locally\n")
+        ui.debug("all remote heads known locally\n")
         return (srvheadhashes, False, srvheadhashes,)
 
     if sample and util.all(yesno):
--- a/tests/test-push-warn.t	Mon Jul 04 19:53:39 2011 -0300
+++ b/tests/test-push-warn.t	Tue Jul 05 14:30:42 2011 -0500
@@ -127,7 +127,6 @@
   $ hg push -v -r 3 -r 4 ../c
   pushing to ../c
   searching for changes
-  all remote heads known locally
   new remote heads on branch 'default'
   new remote head a5dda829a167
   new remote head ee8fbc7a0295
@@ -138,7 +137,6 @@
   $ hg push -v -f -r 3 -r 4 ../c
   pushing to ../c
   searching for changes
-  all remote heads known locally
   2 changesets found
   adding changesets
   adding manifests