[issue1034] newline in username breaks hg log
Tom Lynn
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:
[ui]
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.)
----------
messages: 5617
nosy: tlynn
priority: bug
status: unread
title: newline in username breaks hg log
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1034>
____________________________________________________
More information about the Mercurial-devel
mailing list