This project is not covered by Drupal’s security advisory policy.

Delete entity (node) revisions, but keep "important" ones.

In heavy editorial environments, revision enabled entities may end up having many very similar revisions. Over time, as the database grows, the value of these revisions diminish. This module will delete these 'lesser valued' revisions by comparing revisions from a set of parameters:

  • When was the previous revision saved?
  • Has there been a change of author since the last revision?
  • With the diff module enabled (recommended): how much of the actual text differ?
  • Is it the first revision ever? (Nice for historical reasons.)

Think of these parameters as jury members and the mean value of all individual verdict will determine the fate of each revision.

This is a site/content maintenance module and is meant to be used as a drush command. But to get a *feel* about what revisions will be kept or deleted, the revisions tab on node entities will be populated with the individual verdict where green rows means it's kept and red rows are set up for execution.

Supporting organizations: 

Project information

Releases