Lines Matching refs:cf

125 cvs_remove_force(struct cvs_file *cf)  in cvs_remove_force()  argument
127 if (cf->file_type != CVS_DIR) { in cvs_remove_force()
128 if (cf->file_flags & FILE_ON_DISK) { in cvs_remove_force()
129 if (unlink(cf->file_path) == -1) in cvs_remove_force()
131 (void)close(cf->fd); in cvs_remove_force()
132 cf->fd = -1; in cvs_remove_force()
138 cvs_remove_local(struct cvs_file *cf) in cvs_remove_local() argument
144 cvs_log(LP_TRACE, "cvs_remove_local(%s)", cf->file_path); in cvs_remove_local()
146 if (cf->file_type == CVS_DIR) { in cvs_remove_local()
148 cvs_log(LP_NOTICE, "Removing %s", cf->file_path); in cvs_remove_local()
153 cvs_file_classify(cf, cvs_directory_tag); in cvs_remove_local()
155 if (cf->file_status == FILE_UNKNOWN) { in cvs_remove_local()
158 cf->file_path); in cvs_remove_local()
162 if (cf->file_flags & FILE_ON_DISK) { in cvs_remove_local()
165 cf->file_name); in cvs_remove_local()
168 switch (cf->file_status) { in cvs_remove_local()
170 entlist = cvs_ent_open(cf->file_wd); in cvs_remove_local()
171 cvs_ent_remove(entlist, cf->file_name); in cvs_remove_local()
174 cf->file_wd, CVS_PATH_CVSDIR, cf->file_name, in cvs_remove_local()
181 cf->file_name); in cvs_remove_local()
188 cf->file_name); in cvs_remove_local()
192 rcsnum_tostr(cf->file_ent->ce_rev, rbuf, sizeof(rbuf)); in cvs_remove_local()
194 ctime_r(&cf->file_ent->ce_mtime, tbuf); in cvs_remove_local()
198 if (cf->file_ent->ce_tag != NULL) in cvs_remove_local()
200 cf->file_ent->ce_tag); in cvs_remove_local()
203 cvs_ent_line_str(cf->file_name, rbuf, tbuf, in cvs_remove_local()
204 cf->file_ent->ce_opts ? in cvs_remove_local()
205 cf->file_ent->ce_opts : "", sticky, 0, 1, in cvs_remove_local()
209 cvs_server_update_entry("Checked-in", cf); in cvs_remove_local()
212 entlist = cvs_ent_open(cf->file_wd); in cvs_remove_local()
221 cf->file_name); in cvs_remove_local()
224 cf->file_status = FILE_REMOVED; in cvs_remove_local()