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

Unified Diff: checkout.py

Issue 10909254: Fix svn copies for apply_issue (Closed) Base URL: https://git.chromium.org/chromium/tools/depot_tools.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: checkout.py
diff --git a/checkout.py b/checkout.py
index c6743479da4d4424c591d86f55fede84a50c0cb3..7615fc024154b3b578ac4840bb43ff10f044b174 100644
--- a/checkout.py
+++ b/checkout.py
@@ -339,11 +339,7 @@ class SvnCheckout(CheckoutBase, SvnMixIn):
raise PatchApplicationFailed(
p, 'File exist but was about to be overwriten')
self._check_output_svn(
- [
- 'copy',
- os.path.join(self.project_path, p.source_filename),
- filepath
- ])
+ ['copy', p.source_filename, p.filename])
if p.diff_hunks:
cmd = ['patch', '-p%s' % p.patchlevel, '--forward', '--force']
stdout += subprocess2.check_output(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698