[Bug 4566] New: log formatting broken if commit message contains dash "-"
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Thu Mar 12 05:54:58 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4566
Priority: normal
Bug ID: 4566
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: log formatting broken if commit message contains dash
"-"
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: rm at fb.com
Hardware: All
Status: UNCONFIRMED
Version: 3.3
Component: Mercurial
Product: Mercurial
create a commit, using a series of - characters to create a list in the commit
message, like this:
"""
Do some stuff
Summary:
I did some things:
- thing one
- thing two
- thing three
These things made HHVM faster.
"""
"hg log -r ." looks like this:
"""
commit: 327590:a4ee96f4632f47f691f47d8b2763009da2b6a73e
Author: Brett Simmers <bsimmers at fb.com>
Date: 2015-03-11T14:57:37-07:00 (2 minutes ago)
Do some stuff
Summary: I did some things:
- thing one
- thing two
- thing three
These things made HHVM faster.
"""
- It got rid of the newline that was after "Summary:", bringing "I did some
things:" up onto the same line.
- The dashes I used to indicate the list aren't indented with the rest of the
commit message, making it look pretty strange.
(bug report text from Brett Simmers, but also seen by myself, Ryan McElroy)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list