Hey Dirk,
Thanks for the help. Here's the stacktrace from attempting to run "git cl upload" from a chromium src checkout:
Using 50% similarity for rename/copy detection. Override with --similarity.
Running presubmit upload checks ...
Traceback (most recent call last):
File "/usr/local/google/home/lijeffrey/depot_tools/git_cl.py", line 4907, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/google/home/lijeffrey/depot_tools/git_cl.py", line 4889, in main
return dispatcher.execute(OptionParser(), argv)
File "/usr/local/google/home/lijeffrey/depot_tools/subcommand.py", line 252, in execute
return command(parser, args[1:])
File "/usr/local/google/home/lijeffrey/depot_tools/git_cl.py", line 3621, in CMDupload
return cl.CMDUpload(options, args, orig_args)
File "/usr/local/google/home/lijeffrey/depot_tools/git_cl.py", line 1378, in CMDUpload
change=change)
File "/usr/local/google/home/lijeffrey/depot_tools/git_cl.py", line 1322, in RunHook
gerrit_obj=self._codereview_impl.GetGerritObjForPresubmit())
File "/usr/local/google/home/lijeffrey/depot_tools/presubmit_support.py", line 1548, in DoPresubmitChecks
results += executer.ExecPresubmitScript(presubmit_script, filename)
File "/usr/local/google/home/lijeffrey/depot_tools/presubmit_support.py", line 1460, in ExecPresubmitScript
result = eval(function_name + '(*__args)', context)
File "<string>", line 1, in <module>
File "<string>", line 2085, in CheckChangeOnUpload
File "<string>", line 1832, in _CommonChecks
File "<string>", line 677, in _CheckUnwantedDependencies
ImportError: No module named checkdeps
Per your suggestion using git cl upload --bypass-hooks worked great
Comment 1 by dpranke@chromium.org
, Aug 30 2016Labels: OS-All