correctly set the revision in the request
more logging, handle revision correctly