version 1.40, 2007/10/09 12:22:27 |
version 1.41, 2007/10/09 12:24:13 |
|
|
return; |
return; |
|
|
if (cvs_specified_tag == NULL) |
if (cvs_specified_tag == NULL) |
rcs_rev_getlines(cf->file_rcs, cf->file_rcsrev, &alines); |
rcs_rev_getlines(cf->file_rcs, cf->file_rcs->rf_head, &alines); |
else { |
else { |
rev = rcsnum_parse(cvs_specified_tag); |
rev = rcsnum_parse(cvs_specified_tag); |
|
|
if (rcsnum_cmp(rev, cf->file_rcsrev, 0) < 0) { |
if (rcsnum_cmp(rev, cf->file_rcs->rf_head, 0) < 0) { |
if (!force_head) { |
if (!force_head) { |
/* Stick at weird GNU cvs, ignore error. */ |
/* Stick at weird GNU cvs, ignore error. */ |
rcsnum_free(rev); |
rcsnum_free(rev); |
return; |
return; |
} |
} |
rcsnum_cpy(cf->file_rcsrev, rev, 0); |
rcsnum_cpy(cf->file_rcs->rf_head, rev, 0); |
} |
} |
rcs_rev_getlines(cf->file_rcs, rev, &alines); |
rcs_rev_getlines(cf->file_rcs, rev, &alines); |
rcsnum_free(rev); |
rcsnum_free(rev); |