Load entity revision with Entity API, modify field and save

Public

Get raw version
php
  1. $nid = 42
  2. $wrapper = entity_metadata_wrapper('node', entity_revision_load('node', $nid));
  3. $wrapper->title = 'ver05';
  4. // $wrapper->revision = TRUE; // create new revision
  5. $wrapper->save();