Skip to content
Snippets Groups Projects
  1. Mar 07, 2024
  2. Mar 03, 2024
  3. Mar 02, 2024
    • Georges Racinet's avatar
      GetTreeEntries: structured errors, Python only · fa53ea518751
      Georges Racinet authored
      This is the Python part of #156, and it also serves to prepare
      the Comparison test that will validate the Rust side.
      
      In ordinary integration tests, we do not assert the exact value
      of the structured error: the Comparison tests will be much better
      to make sure they are correct, so we content ourselves with maintaining
      coverage in them.
      fa53ea518751
  4. Feb 28, 2024
  5. Feb 27, 2024
  6. Feb 26, 2024
  7. Feb 14, 2024
  8. Feb 13, 2024
  9. Feb 12, 2024
  10. Feb 06, 2024
    • Georges Racinet's avatar
      DiffService.GetPatchId: initial implementation · 972fd9a8b2cc
      Georges Racinet authored
      Since `git patch-id` does not involve the repository at all (it
      ingests a patch and outputs a hash), we are actually spawning it,
      with a Mercurial generated patch.
      
      For general consistency (and hoping it does not matter so much),
      we are computing the index lines as for the `RawDiff` method, but
      Git seems to actually ignore it.
      
      We are avoiding to extract the full content of binary files, as it
      would be expensive and essentially useless. This is also what Gitaly
      does, and we probably should generalize it to some other `DiffService`
      methods (to be checked)
      
      As the Comparison Tests display, the patch id computed by HGitaly
      turns out to be identical to the done by Gitaly for simple text-only
      diffs. That will obviously not be true of binary diffs.
      972fd9a8b2cc
  11. Feb 11, 2024
  12. Feb 10, 2024
  13. Feb 09, 2024
  14. Jan 29, 2024
Loading