discovery: quiet note about heads stable
authorMatt Mackall <mpm@selenic.com>
Tue, 05 Jul 2011 14:30:42 -0500
branchstable
changeset 14833 308e1b5acc87
parent 14832 d60e4f227d75
child 14834 a2de9da4604d
child 14841 6990340c57a8
child 14876 cf85003ef918
discovery: quiet note about heads This was changing output on in/out -v for no good reason.
mercurial/setdiscovery.py
tests/test-push-warn.t
--- 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