version 1.101, 2008/06/14 00:55:31 |
version 1.102, 2008/06/14 02:34:27 |
|
|
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) |
if (head == NULL) |
fatal("RCS head empty or missing in %s\n", |
fatal("RCS head empty or missing in %s", |
cf->file_rcs->rf_path); |
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) |
if (head == NULL) |
fatal("RCS head empty or missing in %s\n", |
fatal("RCS head empty or missing in %s", |
cf->file_rcs->rf_path); |
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); |