Reputation: 5033
What's the generally used system? Is there a general system, or do all SCM's just set incremting numbers?
Upvotes: 2
Views: 450
Reputation: 1327484
There is three kind of internal number for SCM:
It is based on :
The combination of the two criteria gives you the final id.
An internal version number should no be mistaken for an application version number (like major.minor.build)
Upvotes: 3
Reputation: 60256
I think most SCM will use an incrementing number per item tracked. For instance, Vault does support both versioning of files and folders, so that each file has an (incrementing) version number and the containing folder has one.
Distributed SCM cannot use incrementing numbers, so they will use hashes, unique identifiers or whatever...
Upvotes: 0