mercurial/commands.py
changeset 33360 4a70985805c6
parent 33312 b5612dbe72a3
child 33413 a339027902c4
--- a/mercurial/commands.py	Sun Jul 09 00:05:31 2017 -0400
+++ b/mercurial/commands.py	Sun Jul 09 00:19:03 2017 -0400
@@ -2775,8 +2775,7 @@
                 taglist.extend(p.tags())
 
             dirty = ""
-            if (any(repo.status())
-                or any(ctx.sub(s).dirty() for s in ctx.substate)):
+            if ctx.dirty(missing=True, merge=False, branch=False):
                 dirty = '+'
             fm.data(dirty=dirty)