Skip to content
Snippets Groups Projects
  1. Dec 14, 2022
  2. Dec 12, 2022
  3. Dec 08, 2022
  4. Dec 07, 2022
    • Antoine Lambert's avatar
      replay: Copy dir states and external paths in copy_from operations · b016f654
      Antoine Lambert authored
      Copied directories might have externals so we also need to copy states
      and update external paths in case externals list is later modified.
      b016f654
    • Antoine Lambert's avatar
      svn: Use urllib.parse.quote to percent encode svn URLs · fc78f574
      Antoine Lambert authored
      In order to detect all ascii characters that must be percent encoded
      in svn URLs, add a brute force test and use urllib.parse.quote in
      quote_svn_url function.
      fc78f574
    • Antoine Lambert's avatar
      utils: Raise ValueError when external definition could not be parsed · f377e9f7
      Antoine Lambert authored
      Such case can happen when an external definition is malformed.
      
      Previously, the parsed malformed external was added to the directory state
      with an empty external URL which could lead to unexpected side effects like
      removing all previously exported valid externals.
      f377e9f7
    • Antoine Lambert's avatar
      replay: Simplify FileEditor implementation · 301b31e9
      Antoine Lambert authored
      Instead of maintaining file state based on svn properties across revisions
      replay and trying to reconstruct the same file as with a svn export operation
      after applying text deltas, prefer to simply export the file from the currently
      processed revision when closing the associated file editor.
      
      This greatly simplify the replay module implementation while approximatively
      keeping the same performance as before.
      
      Also add a test that would fail without these changes.
      
      Related to T4673
      301b31e9
  5. Dec 05, 2022
  6. Nov 25, 2022
    • Antoine Lambert's avatar
      replay: Add more debug logs · e35f800a
      Antoine Lambert authored
      Add more debug logs to the replay module to ease detection of issues.
      Nevertheless, as those are quite verbose, only display them when setting
      debug parameter of the loader to True.
      e35f800a
  7. Nov 23, 2022
  8. Nov 22, 2022
    • Antoine Lambert's avatar
      loader: Add logs displaying path differences after revision replay · a843858b
      Antoine Lambert authored
      When a tree computation divergence is detected after replaying a revision
      add debug logs displaying the paths that differ or are missing between the
      reconstructed repository filesystem and the exported one at that specific
      revision.
      
      It should help to gain some time when debugging such issues.
      a843858b
  9. Oct 31, 2022
  10. Oct 28, 2022
  11. Oct 25, 2022
  12. Oct 19, 2022
  13. Oct 18, 2022
  14. Oct 17, 2022
    • Antoine Lambert's avatar
      replay: Use swh.model.from_disk.Directory.collect · aaa82617
      Antoine Lambert authored
      Instead of maintaining a set of modified paths for each replayed revision,
      use the swh.model.from_disk.Directory.collect method which performs the same
      task by returning added or modified contents and directories since the last
      collect operation.
      aaa82617
  15. Oct 01, 2022
Loading