version 1.11, 2008/05/22 07:03:02 |
version 1.12, 2010/07/23 21:46:05 |
|
|
* rightside of the branch number, so instead of having an odd |
* rightside of the branch number, so instead of having an odd |
* number of dot-separated decimals, it will have an even number. |
* number of dot-separated decimals, it will have an even number. |
* |
* |
* Now, according to all the documentation i've found on the net |
* Now, according to all the documentation I've found on the net |
* about this, cvs does this for "efficiency reasons", i'd like |
* about this, cvs does this for "efficiency reasons", I'd like |
* to hear one. |
* to hear one. |
* |
* |
* We just make sure we remove the .0. from in the branch number. |
* We just make sure we remove the .0. from in the branch number. |
|
|
s--; |
s--; |
|
|
/* |
/* |
* If we have a "magic" branch, adjust it |
* If we have a "magic" branch, adjust it |
* so the .0. is removed. |
* so the .0. is removed. |
*/ |
*/ |
if (!strncmp(s, RCS_MAGIC_BRANCH, |
if (!strncmp(s, RCS_MAGIC_BRANCH, |
strlen(RCS_MAGIC_BRANCH))) { |
strlen(RCS_MAGIC_BRANCH))) { |
nump->rn_id[nump->rn_len - 1] = |
nump->rn_id[nump->rn_len - 1] = |