version 1.82, 2007/09/23 11:19:24 |
version 1.83, 2008/01/10 09:37:26 |
|
|
|
|
if (cf->file_rcs != NULL) { |
if (cf->file_rcs != NULL) { |
head = rcs_head_get(cf->file_rcs); |
head = rcs_head_get(cf->file_rcs); |
|
if (head == NULL) |
|
fatal("RCS head empty or missing in %s\n", |
|
cf->file_rcs->rf_path); |
rcsnum_tostr(head, revbuf, sizeof(revbuf)); |
rcsnum_tostr(head, revbuf, sizeof(revbuf)); |
rcsnum_free(head); |
rcsnum_free(head); |
} |
} |
|
|
|
|
/* Restore the file. */ |
/* Restore the file. */ |
head = rcs_head_get(cf->file_rcs); |
head = rcs_head_get(cf->file_rcs); |
|
if (head == NULL) |
|
fatal("RCS head empty or missing in %s\n", |
|
cf->file_rcs->rf_path); |
cvs_checkout_file(cf, head, NULL, 0); |
cvs_checkout_file(cf, head, NULL, 0); |
rcsnum_free(head); |
rcsnum_free(head); |
|
|