See below.
[root@sonardip-01 tmp]# gclient sync
all.deps (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
Traceback (most recent call last):
File "/root/tmp/depot_tools/gclient.py", line 2264, in <module>
sys.exit(Main(sys.argv[1:]))
File "/root/tmp/depot_tools/gclient.py", line 2252, in Main
return dispatcher.execute(OptionParser(), argv)
File "/root/tmp/depot_tools/subcommand.py", line 245, in execute
return command(parser, args[1:])
File "/root/tmp/depot_tools/gclient.py", line 2009, in CMDsync
ret = client.RunOnDeps('update', args)
File "/root/tmp/depot_tools/gclient.py", line 1520, in RunOnDeps
work_queue.flush(revision_overrides, command, args, options=self._options)
File "/root/tmp/depot_tools/gclient_utils.py", line 1012, in run
self.item.run(*self.args, **self.kwargs)
File "/root/tmp/depot_tools/gclient.py", line 832, in run
file_list)
File "/root/tmp/depot_tools/gclient_scm.py", line 163, in RunCommand
return getattr(self, command)(options, args, file_list)
File "/root/tmp/depot_tools/gclient_scm.py", line 1235, in update
if scm.GIT.IsGitSvn(self.checkout_path):
File "/root/tmp/depot_tools/scm.py", line 193, in IsGitSvn
cwd=cwd)
File "/root/tmp/depot_tools/scm.py", line 121, in Capture
cwd=cwd, stderr=subprocess2.PIPE, env=env, **kwargs)
File "/root/tmp/depot_tools/subprocess2.py", line 515, in check_output
return check_call_out(args, stdout=PIPE, **kwargs)[0]
File "/root/tmp/depot_tools/subprocess2.py", line 478, in check_call_out
returncode, args, kwargs.get('cwd'), out[0], out[1])
File "/root/tmp/depot_tools/subprocess2.py", line 37, in __init__
super(CalledProcessError, self).__init__(returncode, cmd, output=stdout)
TypeError: __init__() got an unexpected keyword argument 'output'