##// END OF EJS Templates
morestatus: check whether the conflict message is None before printing...
Pulkit Goyal -
r33885:e5d104c3 default
parent child Browse files
Show More
@@ -673,7 +673,8 b' def morestatus(repo, fm):'
673 statemsg = _('The repository is in an unfinished *%s* state.') % state
673 statemsg = _('The repository is in an unfinished *%s* state.') % state
674 fm.write('statemsg', '%s\n', _commentlines(statemsg), label=label)
674 fm.write('statemsg', '%s\n', _commentlines(statemsg), label=label)
675 conmsg = _conflictsmsg(repo)
675 conmsg = _conflictsmsg(repo)
676 fm.write('conflictsmsg', '%s\n', conmsg, label=label)
676 if conmsg:
677 fm.write('conflictsmsg', '%s\n', conmsg, label=label)
677 if helpfulmsg:
678 if helpfulmsg:
678 helpmsg = helpfulmsg()
679 helpmsg = helpfulmsg()
679 fm.write('helpmsg', '%s\n', helpmsg, label=label)
680 fm.write('helpmsg', '%s\n', helpmsg, label=label)
@@ -187,7 +187,6 b' bisect test'
187 $ hg status -v
187 $ hg status -v
188 # The repository is in an unfinished *bisect* state.
188 # The repository is in an unfinished *bisect* state.
189
189
190 None
191 # To mark the changeset good: hg bisect --good
190 # To mark the changeset good: hg bisect --good
192 # To mark the changeset bad: hg bisect --bad
191 # To mark the changeset bad: hg bisect --bad
193 # To abort: hg bisect --reset
192 # To abort: hg bisect --reset
General Comments 0
You need to be logged in to leave comments. Login now