Lines Matching defs:finfo
28 Checkin (int type, struct file_info *finfo, char *rev, char *tag,
35 tocvsPath = wrap_tocvs_process_file (finfo->file);
40 if (unlink_file_dir (finfo->file) < 0)
42 error (1, errno, "cannot remove %s", finfo->fullname);
43 rename_file (tocvsPath, finfo->file);
47 /* There use to be a check for finfo->rcs == NULL here and then a
52 assert (finfo->rcs != NULL);
54 switch (RCS_checkin (finfo->rcs, finfo->update_dir, finfo->file, message,
83 || !RCS_cmp_file (finfo->rcs, rev, NULL, NULL,
84 options, finfo->file))
94 if (RCS_checkout (finfo->rcs, finfo->file, rev, NULL,
97 finfo->fullname);
98 xchmod (finfo->file, 1);
102 wrap_fromcvs_process_file (finfo->file);
108 if (!cvswrite || fileattr_get (finfo->file, "_watched"))
109 xchmod (finfo->file, 0);
112 vers = Version_TS (finfo, NULL, tag, NULL, 1, set_time);
115 Register (finfo->entries, finfo->file, vers->vn_rcs, vers->ts_user,
118 finfo->file, finfo->repository);
133 finfo->fullname);
146 error (0, 0, "could not check in %s", finfo->fullname);
157 (void) RCS_unlock (finfo->rcs, NULL, 1);
158 RCS_rewrite (finfo->rcs, NULL, NULL);
166 server_updated (finfo, vers, SERVER_UPDATED,
169 server_checked_in (finfo->file, finfo->update_dir,
170 finfo->repository);
174 mark_up_to_date (finfo->file);