From 43a385240fb92fc741c292d54a10260848ff5995 Mon Sep 17 00:00:00 2001 From: "borenet@google.com" Date: Mon, 11 Nov 2013 13:43:22 +0000 Subject: 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 --- tools/submit_try | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') 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) -- cgit v1.2.3