Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29344546: Issue 4070 - Correctly handle multiline commit messages in the mercurial hook (Closed)

Created:
May 25, 2016, 5:13 p.m. by Vasily Kuznetsov
Modified:
May 27, 2016, 8:15 a.m.
Reviewers:
Sebastian Noack, kzar
Visibility:
Public.

Description

Issue 4070 - Correctly handle multiline commit messages in the mercurial hook

Patch Set 1 #

Total comments: 5

Patch Set 2 : Handle CRLF line breaks and whitespace in the second line #

Total comments: 2

Patch Set 3 : Remove redundant check for the final period in the first line of the commit message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M sitescripts/hg/bin/update_issues.py View 1 2 1 chunk +13 lines, -2 lines 0 comments Download
M sitescripts/hg/template/issue_commit_comment.tmpl View 1 chunk +1 line, -1 line 0 comments Download
M sitescripts/hg/test/update_issues.py View 1 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 8
Vasily Kuznetsov
May 25, 2016, 5:15 p.m. (2016-05-25 17:15:03 UTC) #1
kzar
https://codereview.adblockplus.org/29344546/diff/29344547/sitescripts/hg/bin/update_issues.py File sitescripts/hg/bin/update_issues.py (right): https://codereview.adblockplus.org/29344546/diff/29344547/sitescripts/hg/bin/update_issues.py#newcode72 sitescripts/hg/bin/update_issues.py:72: lines = change.description().split('\n') Is it possible for people to ...
May 25, 2016, 6:40 p.m. (2016-05-25 18:40:18 UTC) #2
kzar
https://codereview.adblockplus.org/29344546/diff/29344547/sitescripts/hg/bin/update_issues.py File sitescripts/hg/bin/update_issues.py (right): https://codereview.adblockplus.org/29344546/diff/29344547/sitescripts/hg/bin/update_issues.py#newcode76 sitescripts/hg/bin/update_issues.py:76: if message.endswith('.'): On 2016/05/25 18:40:18, kzar wrote: > IMHO ...
May 26, 2016, 8:14 a.m. (2016-05-26 08:14:10 UTC) #3
Vasily Kuznetsov
https://codereview.adblockplus.org/29344546/diff/29344547/sitescripts/hg/bin/update_issues.py File sitescripts/hg/bin/update_issues.py (right): https://codereview.adblockplus.org/29344546/diff/29344547/sitescripts/hg/bin/update_issues.py#newcode72 sitescripts/hg/bin/update_issues.py:72: lines = change.description().split('\n') On 2016/05/25 18:40:18, kzar wrote: > ...
May 26, 2016, 9:23 a.m. (2016-05-26 09:23:17 UTC) #4
kzar
LGTM Sebastian you want to check this too?
May 26, 2016, 9:56 a.m. (2016-05-26 09:56:58 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29344546/diff/29344568/sitescripts/hg/bin/update_issues.py File sitescripts/hg/bin/update_issues.py (right): https://codereview.adblockplus.org/29344546/diff/29344568/sitescripts/hg/bin/update_issues.py#newcode76 sitescripts/hg/bin/update_issues.py:76: if message.endswith('.'): This check seems redundant.
May 26, 2016, 10:44 a.m. (2016-05-26 10:44:07 UTC) #6
Vasily Kuznetsov
https://codereview.adblockplus.org/29344546/diff/29344568/sitescripts/hg/bin/update_issues.py File sitescripts/hg/bin/update_issues.py (right): https://codereview.adblockplus.org/29344546/diff/29344568/sitescripts/hg/bin/update_issues.py#newcode76 sitescripts/hg/bin/update_issues.py:76: if message.endswith('.'): On 2016/05/26 10:44:07, Sebastian Noack wrote: > ...
May 26, 2016, 7:34 p.m. (2016-05-26 19:34:01 UTC) #7
Sebastian Noack
May 26, 2016, 7:45 p.m. (2016-05-26 19:45:41 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld