checkRevision now returns a callable, return a do-nothing lambda when the expected revision is already checked out