1. 17 Dec, 2014 1 commit
  2. 08 Sep, 2014 1 commit
  3. 05 Sep, 2014 1 commit
  4. 24 Aug, 2014 1 commit
  5. 23 Aug, 2014 3 commits
  6. 19 Aug, 2014 1 commit
  7. 08 Aug, 2014 1 commit
  8. 07 Aug, 2014 1 commit
  9. 19 Jul, 2014 1 commit
    • 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
  10. 26 Jun, 2014 1 commit
    • hinoka@chromium.org's avatar
      Have git cache bootstrap repo if repo is corrupt · aa1e1a4f
      hinoka@chromium.org authored
      We're seeing fetches fail in interesting ways:
      running "git fetch -v --progress origin +refs/heads/*:refs/heads/*" in "/mnt/scratch0/b_used/build/slave/cache_dir/chrome--internal.googlesource.com-chrome-src--internal"
      error: object file ./objects/a1/4bd89aa4cc7d7bbad7594cba0ae73e99dbb54c is empty
      error: object file ./objects/a1/4bd89aa4cc7d7bbad7594cba0ae73e99dbb54c is empty
      fatal: loose object a14bd89aa4cc7d7bbad7594cba0ae73e99dbb54c (stored in ./objects/a1/4bd89aa4cc7d7bbad7594cba0ae73e99dbb54c) is corrupt
      fatal: The remote end hung up unexpectedly
      
      And then the cache becomes corrupted.  This blows the cache away if this happens.
      
      BUG=261741
      
      Review URL: https://codereview.chromium.org/352543003
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280123 0039d316-1c4b-4281-b951-d872f2087c98
      aa1e1a4f
  11. 19 Jun, 2014 1 commit
  12. 18 Jun, 2014 3 commits
  13. 17 Jun, 2014 1 commit
  14. 16 Jun, 2014 1 commit
  15. 10 Jun, 2014 1 commit
  16. 09 Jun, 2014 1 commit
  17. 05 Jun, 2014 3 commits
  18. 23 May, 2014 1 commit
  19. 13 May, 2014 1 commit
  20. 25 Apr, 2014 1 commit
  21. 17 Apr, 2014 1 commit
  22. 09 Apr, 2014 3 commits
  23. 02 Apr, 2014 1 commit
  24. 28 Mar, 2014 1 commit
  25. 18 Mar, 2014 1 commit
  26. 12 Mar, 2014 1 commit
  27. 05 Mar, 2014 1 commit
  28. 28 Feb, 2014 1 commit
    • hinoka@google.com's avatar
      Make gclient_scm.py use cache_dir · 267f33e6
      hinoka@google.com authored
      Instead of having custom logic for dealing with cache directories, use
      git_cache.py to populate caches.
      
      Also fixes a bug in git_cache.py where it was looking for lockfiles in cwd rather than the cache dir.
      
      Other changes:
      * _Run now returns output.
      * Always print to stdout in CheckCallAndFilterOutput, even if it gets a carriage return.  This is done because git progress report are carriage returns and not newlines and we don't want everything on the same line and not strip out the CRs.
      * Removed members changed tests, its not very useful to know a new import is added.
      
      BUG=339171
      
      Review URL: https://codereview.chromium.org/180243006
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@254248 0039d316-1c4b-4281-b951-d872f2087c98
      267f33e6
  29. 27 Feb, 2014 2 commits
  30. 24 Feb, 2014 1 commit