Return to remove.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.50, 2006/05/30 21:32:52 | version 1.51, 2006/05/30 22:05:53 | ||
---|---|---|---|
|
|
||
cvs_file_classify(cf, NULL, 0); | cvs_file_classify(cf, NULL, 0); | ||
if (cf->file_status == FILE_UNKNOWN) { | |||
if (verbosity > 1) | |||
cvs_log(LP_NOTICE, "nothing known about '%s'", | |||
cf->file_path); | |||
return; | |||
} | |||
if (force_remove == 1) { | if (force_remove == 1) { | ||
if (unlink(cf->file_path) == -1) | if (unlink(cf->file_path) == -1) | ||
fatal("cvs_remove_local: %s", strerror(errno)); | fatal("cvs_remove_local: %s", strerror(errno)); |