histedit: end folding message with an LF
This is convenient when running tests dumping the editor content, it
avoids the following output line to be mixed with histedit message.
--- a/hgext/histedit.py Tue Jul 24 12:36:40 2012 -0500
+++ b/hgext/histedit.py Wed Jul 25 11:09:51 2012 +0200
@@ -310,7 +310,7 @@
newmessage = '\n***\n'.join(
[ctx.description()] +
[repo[r].description() for r in internalchanges] +
- [oldctx.description()])
+ [oldctx.description()]) + '\n'
# If the changesets are from the same author, keep it.
if ctx.user() == oldctx.user():
username = ctx.user()
--- a/tests/test-histedit-fold-non-commute.t Tue Jul 24 12:36:40 2012 -0500
+++ b/tests/test-histedit-fold-non-commute.t Wed Jul 25 11:09:51 2012 +0200
@@ -91,6 +91,7 @@
does not commute with e
+
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
file e already exists
1 out of 1 hunks FAILED -- saving rejects to file e.rej