1. 18 Feb, 2022 2 commits
  2. 22 Feb, 2022 1 commit
  3. 18 Feb, 2022 7 commits
  4. 17 Feb, 2022 5 commits
  5. 31 Jan, 2022 1 commit
    • Anton Shestakov's avatar
      obsolete: don't use os.stat in repo.obsstore.__nonzero__ if it's static HTTP · ef50a62eec40
      Anton Shestakov authored
      If a repo is accessed via static HTTP, then we obviously can't use os.stat() to
      just peek at the file size. Let's download the entire file to check its size.
      Yes, this feels wasteful, but:
      
      1. If we're cloning or pulling a repo from a static HTTP server, we need the
         contents of the obsstore anyway.
      
      2. Implementing statichttpvfs.stat() that uses HEAD will result in one more
         request to a static-only HTTP server, which is already slow. Also parsing a
         response to a HEAD request to construct os.stat_result is pretty hacky.
         There's also a question of the remote server properly supporting HEAD method
         and reporting at least file size.
      
      3. Implementing statichttpvfs.stat() that uses GET is pretty much the same
         thing as we do here, except we can't even cache the response easily, unlike
         simply accessing obsstore._data, which is @propertycache'd.
      
      Importing statichttprepo locally to avoid circular import.
      
      See also: 4507bc001365 and commit message of f8f2ecdde4b5.
      
      Differential Revision: https://phab.mercurial-scm.org/D12195
      ef50a62eec40
  6. 26 Aug, 2021 1 commit
  7. 27 Aug, 2021 1 commit
  8. 15 Feb, 2022 5 commits
  9. 12 Feb, 2022 2 commits
  10. 16 Feb, 2022 1 commit
  11. 15 Feb, 2022 4 commits
  12. 16 Feb, 2022 1 commit
  13. 12 Feb, 2022 1 commit
    • Martin von Zweigbergk's avatar
      filemerge: put temporary files in single temp dir by default · b70c9697ab41
      Martin von Zweigbergk authored
      The feature introduced in D2888 seems like a pure improvement to
      me. It makes the names' of temporary file easier to read. Let's have
      it always enabled.
      
      I also removed the config option for the path prefix because it
      doesn't seem useful. I asked Kyle (the author of the feature) about it
      and he couldn't think of a reason to keep it. I suspect it was just
      that we to have a config to turn it on/off while it was experimental,
      so it might as well be a configurable prefix then.
      
      Differential Revision: https://phab.mercurial-scm.org/D12171
      b70c9697ab41
  14. 15 Feb, 2022 1 commit
  15. 26 Nov, 2021 1 commit
  16. 07 Feb, 2022 1 commit
  17. 14 Feb, 2022 1 commit
  18. 15 Feb, 2022 1 commit
  19. 14 Feb, 2022 1 commit
  20. 11 Feb, 2022 1 commit
  21. 15 Feb, 2022 1 commit