Mercurial > hg
diff tests/test-push-checkheads-unpushed-D4.t @ 47191:b338d831d18c
templates: fix `revset('parents()') % ...` in amend message template
I don't understand why, but putting `revset('parents()') % {desc}` in
the commit message template for amend resulted in a crash because
`memctx.hex()` did `hex(self.node())` and its node was None. This
patch fixes that.
Martin von Zweigbergk <martinvonz@google.com>
Differential Revision: https://phab.mercurial-scm.org/D10707
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 11 May 2021 12:22:26 -0700 |
parents | 9261f6c1d39b |
children | 5996640fc6fe |