I have a question related to _node_save_revision
function in drupal 7. I just want to know how I can get the new revision ID after saving a revision using this function
It is mentioned in the documentation here.
The resulting revision ID is available afterward in
$node->vid
.
But how does this happen? Where is the new revision ID assigned to the node object?