Skip to content
Snippets Groups Projects
  1. Apr 20, 2021
    • Pierre-Yves David's avatar
      streamclone: treat volatile file as "fullfile" · aed6ceaa
      Pierre-Yves David authored
      The nodemap related file might change (or get deleted) during the stream clone
      in a way incompatible with the streaming process.
      
      So we introduce a new flag for this type of file and integrate it with the
      existing `revlog_type` field recently added to `store.walk` returns.
      
      We use that new flat to dispatch such file to the existing mechanism for "atomic
      replacement" file for the nodemap docket and datafile. This fix the bugs we have
      been adding tests for.
      
      Strictly speaking, the nodemap datafile is happened only a could maybe be used
      in a slightly more efficient way, however this is good enough for now.
      
      Differential Revision: https://phab.mercurial-scm.org/D10481
      aed6ceaa
  2. Apr 19, 2021
  3. Apr 20, 2021
  4. Apr 19, 2021
  5. Apr 05, 2021
    • Pierre-Yves David's avatar
      revlog: replace revlog._io.size with a new revlog.index.entry_size · 3c920870
      Pierre-Yves David authored
      The `revlogio` class is mostly a relic from the past. Once in charge of the full
      revlog related Input/Output code, that class gradually lost responsibilities to
      the point where more IO are now done by `revlog.index` objects or revlog objects
      themself. I would like to ultimately remove the `revlogio` class, to do so I
      start simple with move the "entry size" information on the index. (The index is
      already responsible of the binary unpacking, so it knows the size.
      
      Differential Revision: https://phab.mercurial-scm.org/D10309
      3c920870
  6. Apr 14, 2021
  7. Apr 13, 2021
  8. Apr 16, 2021
  9. Apr 17, 2021
  10. Apr 05, 2021
  11. Apr 01, 2021
  12. Apr 15, 2021
  13. Apr 14, 2021
Loading