When 'Revert Revisions' is executed the following rules are applied:
  • Documents modified after Point in Time: will be reverted (by creating new revision) to latest version before .
  • If collection has maximum revisions limit and all of them were created after Point in Time: the oldest revision will be used.
  • Documents created after Point in Time: will be moved to Revisions Bin.
  • Remaining documents will not be modified.
Window parameter is used for performance optimization: since revisions are not sorted by date, we stop the revert process when hitting a versioned document outside the window.