AnsweredAssumed Answered

Detecting when a file is reverted to an older version

Question asked by dnallsopp on Jun 20, 2012
Is it possible to detect when a Versionable file in Alfresco is reverted to a previous version?

I know it is possible to hook into the afterCreateVersion versioning policy (see for example but this only tells me that a new version has been created, not whether that new version has any relationship with previous versions in the history.

Is there any way to distinguish programmatically between a genuinely new version, and a 'new' version which is really a reverted old version?