##// END OF EJS Templates
hgweb: use patch.diff() to make sensible diffs (issue1223, issue1258)...
hgweb: use patch.diff() to make sensible diffs (issue1223, issue1258) This gets us git diffs when enabled and doesn't pick erratic file parents.

File last commit:

r7040:f29b674c merge default
r7309:e74a9173 default
Show More
test-username-newline.out
8 lines | 191 B | text/plain | TextLexer
/ tests / test-username-newline.out
adding a
abort: username 'foo\nbar1' contains a newline
abort: username 'foo\nbar2' contains a newline
transaction abort!
rollback completed
abort: username 'foo\nbar3' contains a newline!