| Index: gcl.py
|
| diff --git a/gcl.py b/gcl.py
|
| index 80250cd04473628d1c26763457075848f5aacebe..4dfed3389635abbaf2a736a3cf6121614d6b94ea 100755
|
| --- a/gcl.py
|
| +++ b/gcl.py
|
| @@ -865,16 +865,14 @@ def TryChange(change_info, args, swallow_exception):
|
| if change_info.patchset:
|
| trychange_args.extend(["--patchset", str(change_info.patchset)])
|
| trychange_args.extend(args)
|
| - trychange.TryChange(trychange_args,
|
| - file_list=change_info.GetFileNames(),
|
| - swallow_exception=swallow_exception,
|
| - prog='gcl try')
|
| + file_list = change_info.GetFileNames()
|
| else:
|
| trychange_args.extend(args)
|
| - trychange.TryChange(trychange_args,
|
| - file_list=None,
|
| - swallow_exception=swallow_exception,
|
| - prog='gcl try')
|
| + file_list = None
|
| + trychange.TryChange(trychange_args,
|
| + file_list=file_list,
|
| + swallow_exception=swallow_exception,
|
| + prog='gcl try')
|
|
|
|
|
| def Commit(change_info, args):
|
|
|