Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Mon, 01 Jun 2009 20:32:53 +0200] rev 9936
list branches in changelog template
Greg Ward <greg-hg@gerg.ca> [Tue, 24 Nov 2009 21:08:40 -0500] rev 9935
commit: if relevant, tell user their commit message was saved.
(issue1635)
Specifically, if:
1) the user edited the message (it didn't come straight from -m) and
2) the commit was aborted by an exception
then the saved commit message in .hg/last-message.txt could come in handy, so
mention it with a ui.write().
This doesn't help users who manually rollback to amend a changeset:
the fact that the message was saved to .hg/last-message.txt is
invisible in that case.
Greg Ward <greg-hg@gerg.ca> [Tue, 24 Nov 2009 21:08:39 -0500] rev 9934
commit: save commit message so it's not destroyed by rollback.
(issue1635)
Rationale: if a pretxncommit hook rejects this commit, the transaction
is rolled back and the user's commit message is irrevocably lost.
So save a copy in .hg/last-message.txt, just in case. Also handy if
the user deliberately rolls back a commit in order to amend it.