Commit b0f852f3 authored by ilevy@chromium.org's avatar ilevy@chromium.org

Fix svn copies for apply_issue

_check_output_svn sets the cwd to project_path
therefore files should not have project_path.

R=maruel@chromium.org,cmp@chromium.org
BUG=149702


Review URL: https://chromiumcodereview.appspot.com/10909254

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@156953 0039d316-1c4b-4281-b951-d872f2087c98
parent 0281f52c
......@@ -341,11 +341,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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment