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.
-------------------------
Evolve Commands Reference
-------------------------
.. highlight:: none
amend
-----
.. hghelp:: amend
evolve
------
.. hghelp:: evolve
fold
----
.. hghelp:: fold
metaedit
--------
.. hghelp:: metaedit
next
----
.. hghelp:: next
obslog
------
.. hghelp:: obslog
pdiff
-----
.. hghelp:: pdiff
previous
--------
.. hghelp:: previous
prune
-----
.. hghelp:: prune
pstatus
-------
.. hghelp:: pstatus
split
-----
.. hghelp:: split
touch
-----
.. hghelp:: touch
uncommit
--------
.. hghelp:: uncommit