Staging instance, all changes can be removed at any time

Skip to content

Refactor and fix the iterate_statuses function

  • do not yield OriginEntry objects if the visit status has no snapshot
  • use set() as intermediate structures to prevent adding the same revision twice

And add simple tests for the ArchiveOriginIterator class (which is an inderect test for this iterate_statuses() function, really).

Depends on !7 (closed).


Migrated from D5101 (view on Phabricator)

Merge request reports

Loading