[issue1457] [mq] qnew -f -m... no longer leaves blank line between comment and patch

L. David Baron mercurial-bugs at selenic.com
Wed Jan 7 13:24:33 CST 2009


New submission from L. David Baron <dbaron at dbaron.org>:

This is a regression between Mercurial 1.0.* and Mercurial 1.1.

'hg qnew -f -m"Message" patchname' should create a patch file in the queue that
looks like:

Message

diff ...

However, in Mercurial 1.1, the patch file in the queue is missing the blank line:

Message
diff ...

(After a qrefresh, the blank line reappears.)

I would expect qnew and qrefresh to generate patches in the same format.  Making
qnew again be consistent with what qrefresh generates will avoid this noise in
the diffs in the queue repository.

(I'm using [diff] git=1, in case that matters.)

----------
messages: 8345
nosy: dbaron
priority: bug
status: unread
title: [mq] qnew -f -m... no longer leaves blank line between comment and patch

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1457>
____________________________________________________



More information about the Mercurial-devel mailing list