changeset 4940:93c89814a5d8

obslog: avoid using a formatter after calling end() on it I don't know if makes a difference, but it feels wrong to use it after calling end(). We can simply use the parent formatter in this case.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 07 Nov 2019 23:10:26 -0800
parents 7aba58dc4b73
children c6fb901b7bc8
files hgext3rd/evolve/obshistory.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/obshistory.py	Thu Nov 07 15:00:57 2019 -0800
+++ b/hgext3rd/evolve/obshistory.py	Thu Nov 07 23:10:26 2019 -0800
@@ -195,7 +195,7 @@
 
             markerfm.end()
 
-            markerfm.plain(b'\n')
+            fm.plain(b'\n')
             fm.end()
 
             self.hunk[ctx.node()] = self.ui.popbuffer()