1. 19 Jul, 2014 2 commits
    • hinoka@chromium.org's avatar
      Git Cache speculative fix for windows · 4e2ad846
      hinoka@chromium.org authored
      Git cache sometimes fail on:
      Traceback (most recent call last):
        File "E:\b\depot_tools\\gclient.py", line 2064, in <module>
          sys.exit(Main(sys.argv[1:]))
        File "E:\b\depot_tools\\gclient.py", line 2052, in Main
          return dispatcher.execute(OptionParser(), argv)
        File "E:\b\depot_tools\subcommand.py", line 245, in execute
          return command(parser, args[1:])
        File "E:\b\depot_tools\\gclient.py", line 1830, in CMDsync
          ret = client.RunOnDeps('update', args)
        File "E:\b\depot_tools\\gclient.py", line 1342, in RunOnDeps
          work_queue.flush(revision_overrides, command, args, options=self._options)
        File "E:\b\depot_tools\gclient_utils.py", line 852, in flush
          self._run_one_task(self.queued.pop(i), args, kwargs)
        File "E:\b\depot_tools\gclient_utils.py", line 944, in _run_one_task
          task_item.run(*args, **kwargs)
        File "E:\b\depot_tools\\gclient.py", line 744, in run
          file_list)
        File "E:\b\depot_tools\gclient_scm.py", line 160, in RunCommand
          return getattr(self, command)(options, args, file_list)
        File "E:\b\depot_tools\gclient_scm.py", line 387, in update
          self._UpdateMirror(mirror, options)
        File "E:\b\depot_tools\gclient_scm.py", line 802, in _UpdateMirror
          ignore_lock=options.ignore_locks)
        File "E:\b\depot_tools\git_cache.py", line 409, in populate
          os.rename(tempdir, self.mirror_path)
      WindowsError: [Error 183] Cannot create a file when that file already exists
      
      It would appear that its being racy, but otherwise it doesn't make any sense.  A theory
      is that this could be running twice and stepping on each other.  Allowing this
      to pass on OSError allows us to test this theory.
      
      BUG=395333
      
      Review URL: https://codereview.chromium.org/408653002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@284272 0039d316-1c4b-4281-b951-d872f2087c98
      4e2ad846
    • agable@chromium.org's avatar
      Add fetch recipe for the open source infra repo. · c2711005
      agable@chromium.org authored
      R=iannucci@chromium.org, primiano@chromium.org
      
      Review URL: https://codereview.chromium.org/404643002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@284262 0039d316-1c4b-4281-b951-d872f2087c98
      c2711005
  2. 17 Jul, 2014 1 commit
  3. 16 Jul, 2014 1 commit
  4. 15 Jul, 2014 1 commit
  5. 08 Jul, 2014 2 commits
  6. 07 Jul, 2014 4 commits
  7. 02 Jul, 2014 3 commits
  8. 01 Jul, 2014 1 commit
  9. 30 Jun, 2014 1 commit
    • cmp@chromium.org's avatar
      Add recurselist DEPS var setting. · e84ac911
      cmp@chromium.org authored
      Previously, recursion overrides were only available by setting
      a numeric 'depth' value in a DEPS file.  This meant that it
      was not possible to control recursion per-dependency entry.
      
      This change adds a recurselist variable with a list structure.
      If a named dependency is present in the list, then gclient will
      recurse into that dependency's DEPS.
      
      As part of this change, I move the recursion controls off of
      DependencySetting and onto Dependency.  The new setup of being
      based on Dependency allows access to the dependency's name.
      
      The controls are only called from Dependency instances.  They
      have always needed access to self.parent (in the Dependency
      context), so this should be more correct than the previous setup.
      
      BUG=390246
      
      Review URL: https://codereview.chromium.org/331373009
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280690 0039d316-1c4b-4281-b951-d872f2087c98
      e84ac911
  10. 28 Jun, 2014 1 commit
  11. 27 Jun, 2014 4 commits
  12. 26 Jun, 2014 3 commits
  13. 25 Jun, 2014 2 commits
  14. 24 Jun, 2014 2 commits
  15. 23 Jun, 2014 3 commits
  16. 20 Jun, 2014 2 commits
  17. 19 Jun, 2014 2 commits
  18. 18 Jun, 2014 3 commits
  19. 17 Jun, 2014 2 commits