changeset 35339 | 740d40ec15c3 |
parent 35338 | bd326f3e0e14 |
child 35377 | c0b6fa74e007 |
--- a/mercurial/debugcommands.py Thu Dec 07 16:12:32 2017 +0100 +++ b/mercurial/debugcommands.py Thu Dec 07 16:49:24 2017 +0100 @@ -874,6 +874,8 @@ return '%s:' + (' ' * (maxvariantlength - len(name))) def formatvalue(value): + if util.safehasattr(value, 'startswith'): + return value if value: return 'yes' else: