diff -r d28cc89d92f0 -r 6eb4bdad198f mercurial/setdiscovery.py --- 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,)