diff -r 2e7902158af9 -r 720f70b720d3 tests/test-rollback.out --- a/tests/test-rollback.out Fri Aug 14 08:19:49 2009 -0400 +++ b/tests/test-rollback.out Tue Nov 24 21:08:39 2009 -0500 @@ -20,8 +20,17 @@ marked working directory as branch test rolling back last transaction default +% Test issue 1635 (commit message saved) +.hg/last-message.txt: +test2 % Test rollback of hg before issue 902 was fixed marked working directory as branch test rolling back last transaction Named branch could not be reset, current branch still is: test test +% rollback by pretxncommit saves commit message (issue 1635) +transaction abort! +rollback completed +abort: pretxncommit hook exited with status 1 +.hg/last-message.txt: +precious commit message