RevisionDelete: Use Config instead of globals

Change-Id: Ia4b36a861b86ea44811410011298599b9356a767