| Index: apply_issue.py
|
| diff --git a/apply_issue.py b/apply_issue.py
|
| index b4ad8946f8e63d0e4fb1a3bd204edb8e72d46c4f..690db0d323e4f545af0544288846548b0bb396a3 100755
|
| --- a/apply_issue.py
|
| +++ b/apply_issue.py
|
| @@ -162,7 +162,7 @@ def main():
|
| scm_obj = checkout.SvnCheckout(full_dir, None, None, None, None)
|
| elif scm_type == 'git':
|
| scm_obj = checkout.GitCheckout(full_dir, None, None, None, None,
|
| - base_ref=options.base_ref)
|
| + base_ref=options.base_ref,)
|
| elif scm_type == None:
|
| scm_obj = checkout.RawCheckout(full_dir, None, None)
|
| else:
|
| @@ -179,7 +179,10 @@ def main():
|
|
|
| print('\nApplying the patch.')
|
| try:
|
| - scm_obj.apply_patch(patchset, verbose=True)
|
| + scm_obj.apply_patch(
|
| + patchset, verbose=True,
|
| + email=properties.get('owner_email', 'chrome-bot@chromium.org'),
|
| + name=properties.get('owner', 'chrome-bot'))
|
| except checkout.PatchApplicationFailed, e:
|
| print(str(e))
|
| print('CWD=%s' % os.getcwd())
|
|
|