I have revisions active for a content type, called e.g. "procedures".
When a node of this type is revised, a new vid is assigned, which is a number independent of the number of revisions made on THAT node.
Given the nature of the node, I need to show/store in the node the revision number in a more meaningful way, for example version=1 for the original node, version=2 for the first revision and so on. [edit]: I need to store this information in the database, so that it can be queried whenever it's needed. Also, it needs not to change when a old revision is deleted.
How can obtain such result in a easy, clean way?