# HG changeset patch # User Yuya Nishihara # Date 2018-09-02 22:53:50 # Node ID 2fb88fa2b33718439d7fb345bd80285a5b7b4598 # Parent a7b91509776dbe4fa1f0bbb8f3e9fcaf1f7cdf51 journal: do not pass in repolookuperror string to template (BC) This doesn't look like data, but a warning message. diff --git a/hgext/journal.py b/hgext/journal.py --- a/hgext/journal.py +++ b/hgext/journal.py @@ -514,7 +514,7 @@ def journal(ui, repo, *args, **opts): 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()