How to programmatically create new revision and publish it?
I think it will work when you explicitly set revision_moderation to FALSE. If moderation is not required, it should be published right away.

$vid = revisioning_get_latest_revision_id($nid);
$node = node_load($nid, $vid);
$node-&gt;revision = TRUE;
$node-&gt;is_current = TRUE;
$node-&gt;status = 1;
$node-&gt;revision_moderation = FALSE;
node_save($node);


From the example here: http://drupalprogrammatically.com/anwsers/7/create-node

Poster of above url also sets $node-&gt;revision = FALSE;, but that would give me the impression no new revision is saved, which is not what you want.
I hope it helps.