Lines Matching refs:cf
214 cvs_admin_local(struct cvs_file *cf) in cvs_admin_local() argument
219 cvs_log(LP_TRACE, "cvs_admin_local(%s)", cf->file_path); in cvs_admin_local()
221 cvs_file_classify(cf, cvs_directory_tag); in cvs_admin_local()
223 if (cf->file_type == CVS_DIR) { in cvs_admin_local()
225 cvs_log(LP_NOTICE, "Administrating %s", cf->file_name); in cvs_admin_local()
229 if (cf->file_ent == NULL) in cvs_admin_local()
231 else if (cf->file_status == FILE_ADDED) { in cvs_admin_local()
233 cf->file_name); in cvs_admin_local()
237 if (cf->file_rcs == NULL) { in cvs_admin_local()
238 cvs_log(LP_ERR, "lost RCS file for `%s'", cf->file_path); in cvs_admin_local()
243 cvs_printf("RCS file: %s\n", cf->file_rcs->rf_path); in cvs_admin_local()
281 rcs_access_add(cf->file_rcs, acp->ra_name); in cvs_admin_local()
291 rcs_access_add(cf->file_rcs, aargv->argv[i]); in cvs_admin_local()
297 rcs_comment_set(cf->file_rcs, comment); in cvs_admin_local()
304 rcs_access_remove(cf->file_rcs, eargv->argv[i]); in cvs_admin_local()
310 while (!TAILQ_EMPTY(&(cf->file_rcs->rf_access))) { in cvs_admin_local()
311 rap = TAILQ_FIRST(&(cf->file_rcs->rf_access)); in cvs_admin_local()
312 TAILQ_REMOVE(&(cf->file_rcs->rf_access), rap, ra_list); in cvs_admin_local()
317 cf->file_rcs->rf_flags &= ~RCS_SYNCED; in cvs_admin_local()
322 if (cf->file_rcs->rf_expand == NULL || in cvs_admin_local()
323 strcmp(cf->file_rcs->rf_expand, koptstr) != 0) in cvs_admin_local()
324 rcs_kwexp_set(cf->file_rcs, kflag); in cvs_admin_local()
339 if (rcs_rev_setlog(cf->file_rcs, rev, logmsg) < 0) { in cvs_admin_local()
353 cvs_revision_select(cf->file_rcs, orange); in cvs_admin_local()
354 for (rdp = TAILQ_FIRST(&(cf->file_rcs->rf_delta)); in cvs_admin_local()
366 (void)rcs_rev_remove(cf->file_rcs, rdp->rd_num); in cvs_admin_local()
378 } else if (cf->file_rcs->rf_head != NULL) { in cvs_admin_local()
380 rcsnum_cpy(cf->file_rcs->rf_head, rev, 0); in cvs_admin_local()
386 (void)rcs_state_set(cf->file_rcs, rev, state); in cvs_admin_local()
392 (void)rcs_lock_setmode(cf->file_rcs, lkmode); in cvs_admin_local()
394 rcs_write(cf->file_rcs); in cvs_admin_local()