[issue1879] import truncates patch message on lines starting with 'diff '

Wagner Bruna bugs at mercurial.selenic.com
Tue Oct 20 19:56:58 UTC 2009


New submission from Wagner Bruna <wagner.bruna+mercurial at gmail.com>:

It happened on the tortoisehg repository (071ea4834dc4). To reproduce:

hg init repo
cd repo
hg import - <<EOF
summary line

this is a message containing the word
diff in a strategic place

diff --git a/test.txt b/test.txt
new file mode 100644

EOF
hg log --template '===\n{desc}\n===\n'

----------
messages: 10812
nosy: wbruna
priority: bug
status: unread
title: import truncates patch message on lines starting with 'diff '

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



More information about the Mercurial-devel mailing list