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>
Use the hex constant please.