Comments
Patch
@@ -323,6 +323,7 @@
transaction abort!
rollback completed
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
abort: pretxncommit.unexpectedabort hook exited with status 1
[255]
$ cat .hg/last-message.txt
@@ -116,6 +116,7 @@
transaction abort!
rollback completed
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
abort: pretxncommit hook exited with status * (glob)
[255]
$ cat .hg/last-message.txt
@@ -186,6 +186,7 @@
HG: added file2
====
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
transaction abort!
rollback completed
qrefresh interrupted while patch was popped! (revert --all, qpush to recover)
@@ -229,6 +230,7 @@
A file2
====
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
transaction abort!
rollback completed
qrefresh interrupted while patch was popped! (revert --all, qpush to recover)
@@ -308,6 +308,7 @@
transaction abort!
rollback completed
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
abort: pretxncommit.unexpectedabort hook exited with status 1
[255]
$ cat .hg/last-message.txt
@@ -230,6 +230,7 @@
HG: changed a
====
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
transaction abort!
rollback completed
qrefresh interrupted while patch was popped! (revert --all, qpush to recover)
@@ -373,6 +373,7 @@
transaction abort!
rollback completed
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
abort: pretxncommit.unexpectedabort hook exited with status 1
[255]
$ cat .hg/last-message.txt
@@ -397,6 +398,7 @@
transaction abort!
rollback completed
note: commit message saved in .hg/last-message.txt
+ note: copy the text if you want to keep it; it will not be automatically reused
abort: pretxncommit.unexpectedabort hook exited with status 1
[255]
@@ -3016,6 +3016,12 @@
self.ui.write(
_(b'note: commit message saved in %s\n') % msgfn
)
+ self.ui.write(
+ _(
+ b'note: copy the text if you want to keep it; '
+ 'it will not be automatically reused\n'
+ )
+ )
raise
def commithook(unused_success):