mercurial/commands.py
branchstable
changeset 10515 98bc3e195720
parent 10505 b3311e26f94f
child 10520 75361931884d
--- a/mercurial/commands.py	Fri Feb 19 16:50:47 2010 -0800
+++ b/mercurial/commands.py	Fri Feb 19 20:34:23 2010 -0500
@@ -1768,7 +1768,7 @@
         parents = ctx.parents()
         changed = False
         if default or id or num:
-            changed = ctx.files() + ctx.deleted()
+            changed = util.any(repo.status())
         if default or id:
             output = ["%s%s" % ('+'.join([hexfunc(p.node()) for p in parents]),
                                 (changed) and "+" or "")]