Skip to content
Snippets Groups Projects
  1. Feb 02, 2024
  2. Feb 12, 2024
  3. Jan 08, 2024
  4. Feb 02, 2024
  5. Jan 30, 2024
  6. Jan 24, 2024
    • Anton Shestakov's avatar
      tests: use sha256line.py instead of /dev/random in test-censor.t (issue6858) · e7be2ddfb4c2
      Anton Shestakov authored
      Sometimes the systems that run our test suite don't have enough entropy and
      they cannot produce target file of the expected size using /dev/random, which
      results in test failures. Switching to /dev/urandom would give us way more
      available data at the cost of it being less "random", but we don't really need
      to use entropy for this task at all, since we only care if the file size after
      compression is big enough to not be stored inline in the revlog. So let's use
      something that we already have used to generate this kind of data in other
      tests.
      e7be2ddfb4c2
    • Anton Shestakov's avatar
      tests: make sha256line.py available for all tests · fa4c4fa232d6
      Anton Shestakov authored
      This was previously only used in test-revlog-delta-find.t, but it will be
      useful (and used) in other tests that might need to generate
      poorly-compressible files.
      fa4c4fa232d6
  7. Nov 23, 2023
  8. Jan 07, 2024
  9. Nov 23, 2023
  10. Jan 07, 2024
  11. Nov 23, 2023
  12. Jan 07, 2024
  13. Jan 06, 2024
  14. Jan 04, 2024
  15. Nov 23, 2023
  16. Jan 04, 2024
  17. Nov 23, 2023
  18. Dec 29, 2023
  19. Nov 23, 2023
    • Pierre-Yves David's avatar
      delta-find: use "-1" as depth snapshot-dept for non snapshot in debug · 0d92d62ecde0
      Pierre-Yves David authored
      This will help do distinct full snapshot (level 0) and normal delta (not a snapshot, no snapshot level)
      0d92d62ecde0
    • Pierre-Yves David's avatar
      delta-find: fix the computation of the `prev` value · 2e169a222e63
      Pierre-Yves David authored
      The previous computation was "wrong" it always used the tiprev, even when computing a delta in a non-append case (mostly benchmark).
      
      This never produced wrong delta on disk, but would misled debug or performance command. Since it does not have any actual user impact, I did not put this on stable.
      
      With the code fixed we can now use revisions in some search and it makes the
      test display more interesting behavior since the algorithm has more to work
      with.
      2e169a222e63
Loading