diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -673,7 +673,8 @@ statemsg = _('The repository is in an unfinished *%s* state.') % state fm.write('statemsg', '%s\n', _commentlines(statemsg), label=label) conmsg = _conflictsmsg(repo) - fm.write('conflictsmsg', '%s\n', conmsg, label=label) + if conmsg: + fm.write('conflictsmsg', '%s\n', conmsg, label=label) if helpfulmsg: helpmsg = helpfulmsg() fm.write('helpmsg', '%s\n', helpmsg, label=label) diff --git a/tests/test-bisect.t b/tests/test-bisect.t --- a/tests/test-bisect.t +++ b/tests/test-bisect.t @@ -187,7 +187,6 @@ $ hg status -v # The repository is in an unfinished *bisect* state. - None # To mark the changeset good: hg bisect --good # To mark the changeset bad: hg bisect --bad # To abort: hg bisect --reset