[issue1034] newline in username breaks hg log
mercurial-bugs at selenic.com
Sat Mar 15 22:43:00 CDT 2008
New submission from Tom Lynn <tom-zrephevnyohtf at fish.cx>:
I tried to add an indented comment after my username in Mercurial.ini:
username = Blah <blah at blah>
# explanatory note.
But this becomes "Blah <blah at blah>\n#explanatory note", which was entered into
the repository when I committed, causing "hg log" to fail.
As I see it there are three bugs here, although the first two are arguable.
Firstly, the ini syntax should ignore the comment. Secondly, the frontend
should check for usernames with newlines. Thirdly, the backend should check for
usernames with newlines.
(This is much like issue248.)
title: newline in username breaks hg log
Mercurial issue tracker <mercurial-bugs at selenic.com>
More information about the Mercurial-devel