version 1.234, 2008/03/09 03:14:52 |
version 1.235, 2008/03/09 18:02:17 |
|
|
cf->file_ent = NULL; |
cf->file_ent = NULL; |
|
|
if (cf->file_ent != NULL) { |
if (cf->file_ent != NULL) { |
if (cf->file_ent->ce_type == CVS_ENT_DIR && |
if (cf->fd != -1 && cf->file_ent->ce_type == CVS_ENT_DIR && |
cf->file_type != CVS_DIR) |
cf->file_type != CVS_DIR) |
fatal("%s is supposed to be a directory, but it is not", |
fatal("%s is supposed to be a directory, but it is not", |
cf->file_path); |
cf->file_path); |
if (cf->file_ent->ce_type == CVS_ENT_FILE && |
if (cf->fd != -1 && cf->file_ent->ce_type == CVS_ENT_FILE && |
cf->file_type != CVS_FILE) |
cf->file_type != CVS_FILE) |
fatal("%s is supposed to be a file, but it is not", |
fatal("%s is supposed to be a file, but it is not", |
cf->file_path); |
cf->file_path); |
|
|
if (cf->fd == -1 && server_has_file == 0) { |
if (cf->fd == -1 && server_has_file == 0) { |
cvs_log(LP_NOTICE, |
cvs_log(LP_NOTICE, |
"warning: %s's entry exists but" |
"warning: %s's entry exists but" |
" there is no longer a file" |
" is no longer in the repository," |
" in the repository," |
|
" removing entry", |
" removing entry", |
cf->file_path); |
cf->file_path); |
cf->file_status = FILE_REMOVE_ENTRY; |
cf->file_status = FILE_REMOVE_ENTRY; |