Closed
Bug 453162
Opened 15 years ago
Closed 9 years ago
pushlog turns line breaks in commit messages into spaces
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: gps)
References
()
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/842] )
Attachments
(2 files)
4.97 KB,
patch
|
Details | Diff | Splinter Review | |
4.04 KB,
patch
|
bkero
:
review+
|
Details | Diff | Splinter Review |
http://hg.mozilla.org/tracemonkey/pushloghtml?startdate=2008-09-01+00%3A00%3A00&enddate=2008-09-01+03%3A00%3A00 is hard to read because the line breaks were not preserved. They should have been turned into <br>s, I guess.
Comment 1•15 years ago
|
||
It should use the |firstline filter as is used in changelog and shortlog.
Reporter | ||
Comment 2•15 years ago
|
||
Why only show the first line?
Comment 3•15 years ago
|
||
This is what hg does nearly everywhere: show the first line of the commit message in the overview, then a user can expand it to show the full message.
Reporter | ||
Comment 4•15 years ago
|
||
Ah, I didn't know I could click the commit to read the entire message. It would be a lot less confusing if the overview included a clickable "..." on cut-off commit messages.
Comment 5•15 years ago
|
||
I'd prefer to just turn them into <br>s and show the entire thing. We typically don't get huge commit messages.
Comment 6•14 years ago
|
||
Actually, I like Jesse's idea. We could show only the first line of multi-line commit messages, with a clickable ellipsis that shows the rest (using JS). Sid: this sounds like itd be a pretty easy patch. Interested? :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
ted, sounds good. I'll take it up. Just to make sure though, you want the ellipsis link pointing to the appropriate changeset link? So in the above case it would be: http://hg.mozilla.org/tracemonkey/rev/310ff794218c
Comment 8•14 years ago
|
||
No, I'd like to have the ellipsis link just have an onclick that expands the commit message from the first line to show the entire message.
Updated•14 years ago
|
Assignee: nobody → sid
Please see the following link for more details: http://blog.sidkalra.com/2009/04/v09-release-fix-for-the-line-break-bug/
Attachment #372296 -
Flags: review?(ted.mielczarek)
Comment 10•13 years ago
|
||
Ted, looking at your review queue, these patches go back a while. Do you have review comments that haven't been addressed in order for you to r+? If not, are you planning to review? And, if you don't think we should take these, can you r-? If there are comments that have yet to be addressed, does it make sense to clear these requests and ask for another request after the comments have been addressed?
Comment 11•13 years ago
|
||
I think most of these patches are probably ok, I just didn't find time to review them. I haven't context switched to look at pushlog stuff in a long time, so they fell to the back burner. Plus, Sid (while he did great work), finished his course and moved on and stopped bugging me for reviews.
Comment 12•13 years ago
|
||
Ted? Let's try to finish this one.
Comment 13•13 years ago
|
||
Comment on attachment 372296 [details] [diff] [review] Patch for hg_templates to add expand/collapse functionality for commit messages with line breaks Clearing old review requests. We can revisit these at a later date.
Attachment #372296 -
Flags: review?(ted.mielczarek)
Updated•10 years ago
|
Product: mozilla.org → Release Engineering
Updated•9 years ago
|
Product: Release Engineering → Developer Services
Updated•9 years ago
|
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/297]
Updated•9 years ago
|
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/297] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/842] [kanban:engops:https://kanbanize.com/ctrl_board/6/297]
Updated•9 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/842] [kanban:engops:https://kanbanize.com/ctrl_board/6/297] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/842]
Assignee | ||
Comment 14•9 years ago
|
||
Multi-line commit messages in pushloghtml were having their newlines rendered as spaces. Converting them to <br /> via the "addbreaks" filter makes commit message formatting on pushloghtml much more pleasant to read. Personally, I like the idea of an ellipsis. But I'm lazy and don't feel like implementing that. We can always do it later.
Attachment #8543088 -
Flags: review?(bkero)
Assignee | ||
Updated•9 years ago
|
Assignee: sid → gps
Status: NEW → ASSIGNED
Comment 15•9 years ago
|
||
The clickable ellipsis would be best but this is terrible right now and putting linebreaks in is better than what we currently have.
Updated•9 years ago
|
Attachment #8543088 -
Flags: review?(bkero) → review+
Assignee | ||
Comment 16•9 years ago
|
||
https://hg.mozilla.org/hgcustom/version-control-tools/rev/5092f20392c2
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 17•9 years ago
|
||
This has been deployed.
You need to log in
before you can comment on or make changes to this bug.
Description
•