mercurial/repoview.py
changeset 25149 3f0744eeaeaf
parent 25086 140c2d1e57e7
child 25972 f279191124f3
--- a/mercurial/repoview.py	Sat May 16 14:31:03 2015 -0400
+++ b/mercurial/repoview.py	Sat May 16 14:30:07 2015 -0400
@@ -196,7 +196,7 @@
     Secret and hidden changeset should not pretend to be here."""
     assert not repo.changelog.filteredrevs
     # fast check to avoid revset call on huge repo
-    if util.any(repo._phasecache.phaseroots[1:]):
+    if any(repo._phasecache.phaseroots[1:]):
         getphase = repo._phasecache.phase
         maymutable = filterrevs(repo, 'base')
         return frozenset(r for r in maymutable if getphase(repo, r))