|
|
|||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||
|
4.3 Assigning revisions
By default, CVS will assign numeric revisions by
leaving the first number the same and incrementing the
second number. For example,
When adding a new file, the second number will always
be one and the first number will equal the highest
first number of any file in that directory. For
example, the current directory contains files whose
highest numbered revisions are
Normally there is no reason to care
about the revision numbers--it is easier to treat them
as internal numbers that CVS maintains, and tags
provide a better way to distinguish between things like
release 1 versus release 2 of your product
(see section 4.4 Tags--Symbolic revisions). However, if you want to set the
numeric revisions, the `-r' option to For example, to bring all your files up to revision 3.0 (including those that haven't changed), you might invoke:
Note that the number you specify with `-r' must be larger than any existing revision number. That is, if revision 3.0 exists, you cannot `cvs commit -r 1.3'. If you want to maintain several releases in parallel, you need to use a branch (see section 5. Branching and merging).
|
|
|||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
Marketplace: | |||||||||||||||||||||||||
| " Most defaced web sites are hosted by Windows, and Windows sites are disproportionately defaced more often than explained by its market share. " | |||||||||||||||||||||||||