Comments
Patch
@@ -3951,7 +3951,7 @@
parents = ctx.parents()
changed = ""
if default or id or num:
- if (util.any(repo.status().all())
+ if (repo.status().haschanges()
or util.any(ctx.sub(s).dirty() for s in ctx.substate)):
changed = '+'
if default or id:
@@ -5405,7 +5405,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().all())
+ dirty = repo.status().haschanges()
node = ctx.node()
if node != parent:
if dirty: