version 1.41, 2007/10/09 12:24:13 |
version 1.42, 2007/10/09 12:25:27 |
|
|
if (cvs_specified_tag == NULL) |
if (cvs_specified_tag == NULL) |
rcs_rev_getlines(cf->file_rcs, cf->file_rcs->rf_head, &alines); |
rcs_rev_getlines(cf->file_rcs, cf->file_rcs->rf_head, &alines); |
else { |
else { |
rev = rcsnum_parse(cvs_specified_tag); |
if ((rev = rcs_translate_tag(cvs_specified_tag, |
|
cf->file_rcs)) == NULL) { |
|
if (!force_head) |
|
/* Stick at weird GNU cvs, ignore error. */ |
|
return; |
|
rev = rcsnum_alloc(); |
|
rcsnum_cpy(cf->file_rcs->rf_head, rev, 0); |
|
} |
|
|
if (rcsnum_cmp(rev, cf->file_rcs->rf_head, 0) < 0) { |
/* rcs_translate_tag may give back an unavailable revision. */ |
|
if (rcs_findrev(cf->file_rcs, rev) == NULL) { |
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); |