aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-11 13:43:22 +0000
committerGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-11 13:43:22 +0000
commit43a385240fb92fc741c292d54a10260848ff5995 (patch)
tree5d8196d81099bd8f550fdea59555226e2e25fc30 /tools
parent6c1e49af8de1f6dfdc5fb09cd0edfc2e469e945f (diff)
Specify --patchlevel 0 to trychange.py
For some reason, trychange.py creates patches with level 0, even from a git repo. We were assuming that the patch level was 1 from a git repo, so patches were failing to apply. BUG=skia:1669 R=rmistry@google.com Review URL: https://codereview.chromium.org/61733011 git-svn-id: http://skia.googlecode.com/svn/trunk@12212 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rwxr-xr-xtools/submit_try3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/submit_try b/tools/submit_try
index e09e3049a9..da9292a671 100755
--- a/tools/submit_try
+++ b/tools/submit_try
@@ -276,7 +276,8 @@ def SubmitTryRequest(args, is_svn=True):
try_args = ['--use_svn',
'--svn_repo', GetTryRepo(),
'--root', GetCheckoutRoot(is_svn),
- '--bot', botlist]
+ '--bot', botlist,
+ '--patchlevel', '0']
if args.revision:
try_args.extend(['-r', args.revision])
trychange.TryChange(try_args, None, False)