diff mercurial/setdiscovery.py @ 25151:6eb4bdad198f

cleanup: use __builtins__.all instead of util.all
author Augie Fackler <augie@google.com>
date Sat, 16 May 2015 14:34:19 -0400
parents 0ca8410ea345
children 4d77e89652ad
line wrap: on
line diff
--- 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,)