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

Issue 29371804: Noissue - [hgreview] Only use first line of commit message as review title (Closed)

Created:
Jan. 13, 2017, 1:57 p.m. by f.nicolaisen
Modified:
July 19, 2017, 8:33 p.m.
Base URL:
https://hg.adblockplus.org/codingtools/
Visibility:
Public.

Description

Noissue - [hgreview] Only use first line of commit message as review title As you can see in this review (which was uploaded using the patched review.py), only the first line of the message is present in the review title, whereas the complete commit message is present in description. Very meta.

Patch Set 1 #

Total comments: 2

Patch Set 2 : follow Vasily's suggestions #

Total comments: 5

Patch Set 3 : Trying Wladimir's idea supporting multiline from command line #

Total comments: 6

Patch Set 4 : Addressing latest review from Wladimir #

Total comments: 4

Patch Set 5 : Trying again #

Total comments: 4

Patch Set 6 : Remove unnecessary condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M hgreview.py View 1 2 3 4 5 1 chunk +8 lines, -4 lines 0 comments Download

Messages

Total messages: 23
f.nicolaisen
Jan. 13, 2017, 1:57 p.m. (2017-01-13 13:57:45 UTC) #1
Vasily Kuznetsov
Hi Ferris, I think I found a problem with your change, see below. After that ...
Jan. 13, 2017, 5:58 p.m. (2017-01-13 17:58:08 UTC) #2
f.nicolaisen
Thanks for reviewing! I've tried to address the points with PS 2. https://codereview.adblockplus.org/29371804/diff/29371805/hgreview.py File hgreview.py ...
Jan. 15, 2017, 10:48 p.m. (2017-01-15 22:48:09 UTC) #3
Wladimir Palant
https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py#newcode64 hgreview.py:64: description = ui.prompt('New review title: ', '') The logic ...
Jan. 16, 2017, 10:11 a.m. (2017-01-16 10:11:43 UTC) #4
Vasily Kuznetsov
https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py#newcode64 hgreview.py:64: description = ui.prompt('New review title: ', '') On 2017/01/16 ...
Jan. 16, 2017, 10:46 a.m. (2017-01-16 10:46:07 UTC) #5
Wladimir Palant
https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py#newcode64 hgreview.py:64: description = ui.prompt('New review title: ', '') On 2017/01/16 ...
Jan. 16, 2017, 9:50 p.m. (2017-01-16 21:50:50 UTC) #6
Vasily Kuznetsov
https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py#newcode64 hgreview.py:64: description = ui.prompt('New review title: ', '') On 2017/01/16 ...
Jan. 16, 2017, 10:39 p.m. (2017-01-16 22:39:05 UTC) #7
Wladimir Palant
https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29371815/hgreview.py#newcode64 hgreview.py:64: description = ui.prompt('New review title: ', '') On 2017/01/16 ...
Jan. 17, 2017, 10:30 a.m. (2017-01-17 10:30:17 UTC) #8
juliandoucette
One thing that seems to be missing here (to me) is the repository name. I ...
April 28, 2017, 6:36 p.m. (2017-04-28 18:36:28 UTC) #9
Vasily Kuznetsov
On 2017/04/28 18:36:28, juliandoucette wrote: > One thing that seems to be missing here (to ...
April 28, 2017, 9:44 p.m. (2017-04-28 21:44:20 UTC) #10
juliandoucette
I'm removing myself from reviewers. PS: Don't forget about this change guys.
July 14, 2017, 12:15 p.m. (2017-07-14 12:15:38 UTC) #11
f.nicolaisen
On 2017/07/14 12:15:38, juliandoucette wrote: > I'm removing myself from reviewers. > > PS: Don't ...
July 14, 2017, 3:24 p.m. (2017-07-14 15:24:02 UTC) #12
Wladimir Palant
Maybe have a look at your entire changeset again? It has some leftover changes, see ...
July 17, 2017, 1:20 p.m. (2017-07-17 13:20:38 UTC) #13
f.nicolaisen
Trying again with PS4 :) https://codereview.adblockplus.org/29371804/diff/29489571/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29489571/hgreview.py#newcode66 hgreview.py:66: description = ui.prompt('New review ...
July 17, 2017, 1:43 p.m. (2017-07-17 13:43:41 UTC) #14
Wladimir Palant
On 2017/07/17 13:43:41, f.nicolaisen wrote: > Trying again with PS4 :) Nope, try again please. ...
July 17, 2017, 2:57 p.m. (2017-07-17 14:57:52 UTC) #15
f.nicolaisen
Finally had to wip out the old boolean table. Getting rusty :) 1) If no ...
July 18, 2017, 11:52 a.m. (2017-07-18 11:52:01 UTC) #16
f.nicolaisen
Previous message is for PS5 btw.
July 18, 2017, 11:52 a.m. (2017-07-18 11:52:33 UTC) #17
Wladimir Palant
Finally getting to the original logic, merely with the if conditions formulated differently :) https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py ...
July 18, 2017, 12:06 p.m. (2017-07-18 12:06:02 UTC) #18
f.nicolaisen
https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py#newcode65 hgreview.py:65: elif not opts.get('title') and opts.get('change'): How? It could be ...
July 18, 2017, 12:17 p.m. (2017-07-18 12:17:57 UTC) #19
Wladimir Palant
https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py#newcode65 hgreview.py:65: elif not opts.get('title') and opts.get('change'): On 2017/07/18 12:17:57, f.nicolaisen ...
July 18, 2017, 12:27 p.m. (2017-07-18 12:27:18 UTC) #20
f.nicolaisen
https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py File hgreview.py (right): https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py#newcode65 hgreview.py:65: elif not opts.get('title') and opts.get('change'): On 2017/07/18 12:27:18, Wladimir ...
July 18, 2017, 1:46 p.m. (2017-07-18 13:46:39 UTC) #21
f.nicolaisen
On 2017/07/18 13:46:39, f.nicolaisen wrote: > https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py > File hgreview.py (right): > > https://codereview.adblockplus.org/29371804/diff/29491604/hgreview.py#newcode65 > ...
July 18, 2017, 1:49 p.m. (2017-07-18 13:49:18 UTC) #22
Wladimir Palant
July 18, 2017, 4:14 p.m. (2017-07-18 16:14:11 UTC) #23
LGTM

Powered by Google App Engine
This is Rietveld