1. 28 Feb, 2020 1 commit
  2. 27 Feb, 2020 3 commits
  3. 25 Feb, 2020 3 commits
  4. 24 Feb, 2020 1 commit
  5. 22 Feb, 2020 1 commit
  6. 21 Feb, 2020 2 commits
  7. 20 Feb, 2020 1 commit
  8. 19 Feb, 2020 2 commits
  9. 14 Feb, 2020 1 commit
  10. 13 Feb, 2020 2 commits
  11. 06 Feb, 2020 6 commits
  12. 05 Feb, 2020 1 commit
  13. 04 Feb, 2020 1 commit
  14. 03 Feb, 2020 2 commits
  15. 31 Jan, 2020 1 commit
  16. 30 Jan, 2020 2 commits
    • Florian Mayer's avatar
      Do not crash for non URL (i.e. SSH) remotes. · ae510e8f
      Florian Mayer authored
      Without this change, having an SSH remote configured makes `git cl
      archive` crash:
      
      Traceback (most recent call last):
        File "/usr/local/google/home/fmayer/depot_tools/metrics.py", line 267, in print_notice_and_exit
          yield
        File "/usr/local/google/home/fmayer/depot_tools/git_cl.py", line 5553, in <module>
          sys.exit(main(sys.argv[1:]))
        File "/usr/local/google/home/fmayer/depot_tools/git_cl.py", line 5535, in main
          return dispatcher.execute(OptionParser(), argv)
        File "/usr/local/google/home/fmayer/depot_tools/subcommand.py", line 252, in execute
          return command(parser, args[1:])
        File "/usr/local/google/home/fmayer/depot_tools/metrics.py", line 252, in _inner
          return self._collect_metrics(func, command_name, *args, **kwargs)
        File "/usr/local/google/home/fmayer/depot_tools/metrics.py", line 232, in _collect_metrics
          gclient_utils.reraise(exception[0], exception[1], exception[2])
        File "/usr/local/google/home/fmayer/depot_tools/metrics.py", line 205, in _collect_metrics
          result = func(*args, **kwargs)
        File "/usr/local/google/home/fmayer/depot_tools/git_cl.py", line 3786, in CMDarchive
          for cl, status in statuses
        File "/usr/local/google/home/fmayer/depot_tools/git_cl.py", line 3599, in get_cl_statuses
          cl.EnsureAuthenticated(force=False, refresh=True)
        File "/usr/local/google/home/fmayer/depot_tools/git_cl.py", line 1757, in EnsureAuthenticated
          if urllib.parse.urlparse(self.GetRemoteUrl()).scheme != 'https':
        File "/usr/lib/python2.7/urlparse.py", line 143, in urlparse
          tuple = urlsplit(url, scheme, allow_fragments)
        File "/usr/lib/python2.7/urlparse.py", line 201, in urlsplit
          i = url.find(':')
      AttributeError: 'NoneType' object has no attribute 'find'
      
      Change-Id: I6f794f11d3ed5e3dbedfe278ded660fca32abda6
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2030505
      Commit-Queue: Florian Mayer <fmayer@google.com>
      Reviewed-by: 's avatarAnthony Polito <apolito@google.com>
      ae510e8f
    • Josip's avatar
      Adds support to edit description on git cl upload · e827b0f7
      Josip authored
      git cl upload gets a new flag --edit-description, which allows user to
      edit git commit message. It only works when updating existing CL.
      
      Bug: 739928
      Change-Id: Ia501dc31f32e1887a937d5df39aed03745376827
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2020591Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@google.com>
      Reviewed-by: 's avatarAnthony Polito <apolito@google.com>
      Commit-Queue: Josip Sokcevic <sokcevic@google.com>
      e827b0f7
  17. 24 Jan, 2020 1 commit
  18. 17 Jan, 2020 2 commits
  19. 15 Jan, 2020 1 commit
    • Raul Tambre's avatar
      subprocess2: Ensure environment keys and values are strings on Python 3 · e9730d75
      Raul Tambre authored
      Example error during "git cl upload":
      Traceback (most recent call last):
        File "C:\Google\depot_tools\presubmit_support.py", line 220, in CallCommand
          returncode, stdout = self._RunWithTimeout(cmd, test.stdin, test.kwargs)
        File "C:\Google\depot_tools\presubmit_support.py", line 204, in _RunWithTimeout
          p = subprocess.Popen(cmd, **kwargs)
        File "C:\Google\depot_tools\subprocess2.py", line 143, in __init__
          super(Popen, self).__init__(args, **kwargs)
        File "C:\Google\depot_tools\bootstrap-3_8_0b1_chromium_1_bin\python\bin\Lib\subprocess.py", line 390, in __init__
          errread, errwrite)
        File "C:\Google\depot_tools\bootstrap-3_8_0b1_chromium_1_bin\python\bin\Lib\subprocess.py", line 640, in _execute_child
          startupinfo)
      TypeError: environment can only contain strings
      
      Bug: 984182
      Change-Id: Id996d73a80845aaeaa061107ed123627091cb600
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1815872
      Commit-Queue: Raul Tambre <raul@tambre.ee>
      Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
      Auto-Submit: Raul Tambre <raul@tambre.ee>
      e9730d75
  20. 14 Jan, 2020 1 commit
  21. 13 Jan, 2020 3 commits
  22. 10 Jan, 2020 2 commits