Mercurial > evolve
comparison tests/test-exchange-obsmarkers-case-B2.t @ 4946:bd992b1d4426
obslog: make content and description patches available to templater
The code was repeatedly calling fm.write() with the same field
("patch" and "descdiff"). I think that led to the value constantly
getting replaced, so when it was used in a template (as {patch} or
{descdiff}), it would only get the last value, which was always an
empty string.
This patch fixes it by writing the full patch to a temporary buffer
and then assigning the whole patch to the formatter field.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 07 Nov 2019 16:34:01 -0800 |
parents | e6bea259c227 |
children | 98941c28f3e2 |
comparison
equal
deleted
inserted
replaced
4945:bd50608f54d8 | 4946:bd992b1d4426 |
---|