New function to revert agf for current revision

So that we can revert only that revision as agf instead of all revisions
by that user