Add another delete method in RefUpdate, reusing RevWalk