mercurial/setdiscovery.py
changeset 25151 6eb4bdad198f
parent 25113 0ca8410ea345
child 25914 4d77e89652ad
--- a/mercurial/setdiscovery.py	Sat May 16 14:34:04 2015 -0400
+++ b/mercurial/setdiscovery.py	Sat May 16 14:34:19 2015 -0400
@@ -169,7 +169,7 @@
         ui.debug("all remote heads known locally\n")
         return (srvheadhashes, False, srvheadhashes,)
 
-    if sample and len(ownheads) <= initialsamplesize and util.all(yesno):
+    if sample and len(ownheads) <= initialsamplesize and all(yesno):
         ui.note(_("all local heads known remotely\n"))
         ownheadhashes = dag.externalizeall(ownheads)
         return (ownheadhashes, True, srvheadhashes,)