1. 05 Sep, 2014 4 commits
    • thakis@chromium.org's avatar
      Make git cl format work on my Windows box. · bd2a9b97
      thakis@chromium.org authored
      For me, PATH was a unicode instead of a str for some reason, so things
      failed with
      
      D:\src\chromefetch\src>git cl format
      Traceback (most recent call last):
        File "d:\src\depot_tools\git_cl.py", line 2821, in <module>
          sys.exit(main(sys.argv[1:]))
        File "d:\src\depot_tools\git_cl.py", line 2807, in main
          return dispatcher.execute(OptionParser(), argv)
        File "d:\src\depot_tools\subcommand.py", line 245, in execute
          return command(parser, args[1:])
        File "d:\src\depot_tools\git_cl.py", line 2768, in CMDformat
          stdout = RunCommand(cmd, stdin=diff_output, cwd=top_dir, env=env)
        File "d:\src\depot_tools\git_cl.py", line 81, in RunCommand
          return subprocess2.check_output(args, shell=False, **kwargs)
        File "d:\src\depot_tools\subprocess2.py", line 515, in check_output
          return check_call_out(args, stdout=PIPE, **kwargs)[0]
        File "d:\src\depot_tools\subprocess2.py", line 475, in check_call_out
          out, returncode = communicate(args, **kwargs)
        File "d:\src\depot_tools\subprocess2.py", line 449, in communicate
          proc = Popen(args, **kwargs)
        File "d:\src\depot_tools\subprocess2.py", line 237, in __init__
          super(Popen, self).__init__(args, **kwargs)
        File "d:\src\depot_tools\python276_bin\lib\subprocess.py", line 709, in __init__
          errread, errwrite)
        File "d:\src\depot_tools\python276_bin\lib\subprocess.py", line 957, in _execute_child
          startupinfo)
      TypeError: environment can only contain strings
      Sending crash report ...
        args: ['d:\\src\\depot_tools\\git_cl.py', 'format']
        cwd: D:\src\chromefetch\src
        exception: environment can only contain strings
        host: THAKIS1-W.ad.corp.google.com
        stack:   File "d:\src\depot_tools\git_cl.py", line 2821,
        user: thakis
        version: 2.7.6 (default, Nov 10 2013, 19:24:18)
      
      This fixes the glitch.
      
      Review URL: https://codereview.chromium.org/545333002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291825 0039d316-1c4b-4281-b951-d872f2087c98
      bd2a9b97
    • iannucci@chromium.org's avatar
      Return 1 from git_cl land when you Ctrl-C it in the middle. · bbe9cc5a
      iannucci@chromium.org authored
      R=agable@chromium.org, mmoss@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/549513002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291823 0039d316-1c4b-4281-b951-d872f2087c98
      bbe9cc5a
    • kjellander@chromium.org's avatar
      Make gn.py support root directories other than 'src'. · f7facfab
      kjellander@chromium.org authored
      In https://codereview.chromium.org/341533006/ a change
      was made so that gn.py is not looking for the .gn file
      to identify the root of the checkout. This breaks
      GN functionality for projects that uses gclient but
      have a top directory named something else than 'src'.
      
      This change adds support for arbitrarily named primary (the first)
      solutions in the .gclient file.
      It also adds a check for the generated GN path so a friendly
      error message can be printed if the GN executable cannot be found.
      
      
      BUG=389883
      TESTED=Various cases of Chromium, WebRTC and custom checkouts
      with .gclient containing empty solution list, solution missing the
      'name' key and so on.
      
      Review URL: https://codereview.chromium.org/538393002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291819 0039d316-1c4b-4281-b951-d872f2087c98
      f7facfab
    • hinoka@chromium.org's avatar
      Make git cache delete a defunct directory instead of moving it · 42f9adff
      hinoka@chromium.org authored
      So the original intention of moving it to a different directory to be deleted later
      was to (1) save it for diagnosis (2) be a single inode swap rather than a long
      rmtree delete.
      
      1. No one is actually looking at these directories
      2. The tmpdir sometimes end up on a different partition, so it ends up being
         a copy + delete instead.  Since we're not getting timeouts from that, its
         probably actually better to just straight up delete it.
      
      BUG=410727
      
      Review URL: https://codereview.chromium.org/538993002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291818 0039d316-1c4b-4281-b951-d872f2087c98
      42f9adff
  2. 04 Sep, 2014 1 commit
  3. 03 Sep, 2014 2 commits
  4. 02 Sep, 2014 1 commit
  5. 29 Aug, 2014 6 commits
  6. 28 Aug, 2014 2 commits
  7. 27 Aug, 2014 2 commits
  8. 26 Aug, 2014 2 commits
  9. 25 Aug, 2014 4 commits
  10. 24 Aug, 2014 6 commits
  11. 23 Aug, 2014 6 commits
  12. 22 Aug, 2014 4 commits