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

Issue 8038056: Fix handling of file renames. (Closed)

Created:
9 years, 2 months ago by M-A Ruel
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Dirk Pranke, M-A Ruel
Visibility:
Public.

Description

Fix handling of file renames. The patches needs to by applied 'in-order' to not delete source files. Added more tests. R=dpranke@chromium.org BUG=94330 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103309

Patch Set 1 #

Total comments: 4

Patch Set 2 : More checks #

Patch Set 3 : Fix the check #

Patch Set 4 : Rebase against HEAD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -43 lines) Patch
M apply_issue.py View 2 chunks +3 lines, -2 lines 0 comments Download
M checkout.py View 1 2 3 5 chunks +36 lines, -6 lines 0 comments Download
M patch.py View 8 chunks +52 lines, -10 lines 0 comments Download
M tests/checkout_test.py View 3 8 chunks +65 lines, -5 lines 0 comments Download
M tests/patch_test.py View 5 chunks +68 lines, -17 lines 0 comments Download
M tests/rietveld_test.py View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
M-A Ruel
http://codereview.chromium.org/8038056/diff/1/tests/checkout_test.py File tests/checkout_test.py (right): http://codereview.chromium.org/8038056/diff/1/tests/checkout_test.py#newcode123 tests/checkout_test.py:123: patch.FilePatchDiff('new_dir/subdir/new_file', GIT.NEW_SUBDIR, []), Make sure ordering stays consistent.
9 years, 2 months ago (2011-09-28 19:39:59 UTC) #1
Dirk Pranke
http://codereview.chromium.org/8038056/diff/1/checkout.py File checkout.py (right): http://codereview.chromium.org/8038056/diff/1/checkout.py#newcode147 checkout.py:147: os.path.join(self.project_path, p.source_filename), filepath) I'm a bit confused by this. ...
9 years, 2 months ago (2011-09-28 23:39:27 UTC) #2
M-A Ruel
Be more explicit about it. http://codereview.chromium.org/8038056/diff/1/checkout.py File checkout.py (right): http://codereview.chromium.org/8038056/diff/1/checkout.py#newcode147 checkout.py:147: os.path.join(self.project_path, p.source_filename), filepath) On ...
9 years, 2 months ago (2011-09-29 14:15:58 UTC) #3
Dirk Pranke
ok. lgtm.
9 years, 2 months ago (2011-09-29 17:28:50 UTC) #4
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/8038056/6001
9 years, 2 months ago (2011-09-29 17:37:59 UTC) #5
commit-bot: I haz the power
Can't apply patch for file depot_tools/checkout.py. While running patch -p1 --forward --force; patching file depot_tools/checkout.py ...
9 years, 2 months ago (2011-09-29 17:38:01 UTC) #6
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/8038056/12002
9 years, 2 months ago (2011-09-29 18:01:01 UTC) #7
commit-bot: I haz the power
9 years, 2 months ago (2011-09-29 18:07:08 UTC) #8
Change committed as 103309

Powered by Google App Engine
This is Rietveld 408576698