Mercurial > hg
changeset 39703:2fb88fa2b337
journal: do not pass in repolookuperror string to template (BC)
This doesn't look like data, but a warning message.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 03 Sep 2018 07:53:50 +0900 |
parents | a7b91509776d |
children | aa647457df14 |
files | hgext/journal.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/journal.py Mon Sep 03 07:52:24 2018 +0900 +++ b/hgext/journal.py Mon Sep 03 07:53:50 2018 +0900 @@ -514,7 +514,7 @@ ctx = repo[hash] displayer.show(ctx) except error.RepoLookupError as e: - fm.write('repolookuperror', "%s\n\n", pycompat.bytestr(e)) + fm.plain("%s\n\n" % pycompat.bytestr(e)) displayer.close() fm.end()