mercurial/commands.py
changeset 25149 3f0744eeaeaf
parent 25120 a7701001c829
child 25251 235f6490550c
--- a/mercurial/commands.py	Sat May 16 14:31:03 2015 -0400
+++ b/mercurial/commands.py	Sat May 16 14:30:07 2015 -0400
@@ -4047,8 +4047,8 @@
             parents = ctx.parents()
             changed = ""
             if default or id or num:
-                if (util.any(repo.status())
-                    or util.any(ctx.sub(s).dirty() for s in ctx.substate)):
+                if (any(repo.status())
+                    or any(ctx.sub(s).dirty() for s in ctx.substate)):
                     changed = '+'
             if default or id:
                 output = ["%s%s" %
@@ -5522,7 +5522,7 @@
             hint = _("uncommitted merge, use --all to discard all changes,"
                      " or 'hg update -C .' to abort the merge")
             raise util.Abort(msg, hint=hint)
-        dirty = util.any(repo.status())
+        dirty = any(repo.status())
         node = ctx.node()
         if node != parent:
             if dirty: