Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Issue 10894036: Fix hunk handling for 'default hunk header values'. (Closed)

Created:
8 years, 3 months ago by M-A Ruel
Modified:
8 years, 3 months ago
Reviewers:
Peter Mayo
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel, erikwright (departed), Roger Tawa OOO till Jul 10th
Visibility:
Public.

Description

Fix hunk handling for 'default hunk header values'. Add new test cases to verify it properly handles "-1 +1, 2" and "-1 +1" for short files. R=petermayo@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153906

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add verification code for the number of commas #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -8 lines) Patch
M patch.py View 1 3 chunks +21 lines, -8 lines 0 comments Download
M testing_support/patches_data.py View 1 chunk +10 lines, -0 lines 0 comments Download
M tests/patch_test.py View 1 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
M-A Ruel
8 years, 3 months ago (2012-08-29 16:08:12 UTC) #1
Peter Mayo
LGTM With optional observations. https://chromiumcodereview.appspot.com/10894036/diff/1/patch.py File patch.py (right): https://chromiumcodereview.appspot.com/10894036/diff/1/patch.py#newcode139 patch.py:139: return '%s<%d, %d, %d, %d>' ...
8 years, 3 months ago (2012-08-29 16:49:40 UTC) #2
M-A Ruel
https://chromiumcodereview.appspot.com/10894036/diff/1/patch.py File patch.py (right): https://chromiumcodereview.appspot.com/10894036/diff/1/patch.py#newcode139 patch.py:139: return '%s<%d, %d, %d, %d>' % ( On 2012/08/29 ...
8 years, 3 months ago (2012-08-29 17:15:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/10894036/5001
8 years, 3 months ago (2012-08-29 17:15:37 UTC) #4
commit-bot: I haz the power
8 years, 3 months ago (2012-08-29 17:18:16 UTC) #5
Change committed as 153906

Powered by Google App Engine
This is Rietveld 408576698