Skip to content
Snippets Groups Projects
  1. Apr 21, 2021
  2. Apr 20, 2021
  3. Apr 19, 2021
  4. Apr 20, 2021
    • Pierre-Yves David's avatar
      store: exclude `undo.` nodemap's file from `walk` · 0b569c75d180
      Pierre-Yves David authored
      There are "temporary" local file that we should not be transfered by `walk` user
      like local clone and stream clone.
      
      This fix the small issue that the new tests highlighted.
      
      Differential Revision: https://phab.mercurial-scm.org/D10482
      0b569c75d180
    • Pierre-Yves David's avatar
      streamclone: treat volatile file as "fullfile" · aed6ceaad6d7
      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
      aed6ceaad6d7
  5. Apr 19, 2021
  6. Apr 20, 2021
  7. Apr 19, 2021
  8. Apr 05, 2021
    • Pierre-Yves David's avatar
      revlog: replace revlog._io.size with a new revlog.index.entry_size · 3c9208702db3
      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
      3c9208702db3
  9. Apr 14, 2021
  10. Apr 13, 2021
  11. Apr 16, 2021
  12. Apr 17, 2021
  13. Apr 05, 2021
  14. Apr 01, 2021
  15. Apr 15, 2021
  16. Apr 14, 2021
Loading