Size: 609
Comment:
|
Size: 717
Comment: lowercase links, minor rewording
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
It is a strictly local ''convenience identifier'' for a file. It can be useful as it is shorter to type than the 40-digit hexadecimal string that uniquely identifies a ["Revision"]. | It is a strictly local ''convenience identifier'' for a [:Revision:revision]. It can be useful as it is shorter to type than the 40-digit hexadecimal string that uniquely identifies a revision. |
Line 9: | Line 9: |
Although all files have revision numbers, revision numbers are almost always used to identify ["ChangeSet"]s. | Although all files have revision numbers, revision numbers are almost always used to identify a [:ChangeSet:changeset] within a given [:Repository:repository]. |
Line 13: | Line 13: |
Revision numbers are ''very likely'' to be different (i.e. to identify a different ChangeSet) in another copy of a ["Repository"]. ''Do not use them'' to talk about ["ChangeSet"]s with other people. | Revision numbers referring to changesets are ''very likely'' to be different in another copy of a repository. ''Do not use them'' to talk about changesets with other people. Use the [:ChangeSetID:changeset ID] instead. ---- CategoryGlossary |
Revision number
A revision number is a small integer.
It is a strictly local convenience identifier for a [:Revision:revision]. It can be useful as it is shorter to type than the 40-digit hexadecimal string that uniquely identifies a revision.
Common usage
Although all files have revision numbers, revision numbers are almost always used to identify a [:ChangeSet:changeset] within a given [:Repository:repository].
Pitfalls
Revision numbers referring to changesets are very likely to be different in another copy of a repository. Do not use them to talk about changesets with other people. Use the [:ChangeSetID:changeset ID] instead.