Lines Matching refs:vers
219 Vers_TS *vers; in find_fileproc() local
242 vers = Version_TS (&xfinfo, NULL, saved_tag, NULL, 0, 0); in find_fileproc()
243 if (vers->vn_user == NULL) in find_fileproc()
245 if (vers->ts_user == NULL) in find_fileproc()
250 freevers_ts (&vers); in find_fileproc()
253 if (vers->vn_user[0] == '-') in find_fileproc()
255 if (vers->ts_user != NULL) in find_fileproc()
260 freevers_ts (&vers); in find_fileproc()
266 else if (strcmp (vers->vn_user, "0") == 0) in find_fileproc()
268 if (vers->ts_user == NULL) in find_fileproc()
283 else if (vers->ts_user == NULL) in find_fileproc()
287 freevers_ts (&vers); in find_fileproc()
290 else if (vers->ts_rcs != NULL in find_fileproc()
291 && (args->force || strcmp (vers->ts_user, vers->ts_rcs) != 0)) in find_fileproc()
301 freevers_ts (&vers); in find_fileproc()
310 data->tag = xstrdup (vers->tag); in find_fileproc()
320 freevers_ts (&vers); in find_fileproc()
717 classify_file_internal (struct file_info *finfo, Vers_TS **vers) in classify_file_internal() argument
737 NULL, 1, aflag, vers, 0); in classify_file_internal()
743 freevers_ts (vers); in classify_file_internal()
745 NULL, 1, aflag, vers, 0); in classify_file_internal()
769 NULL, 1, aflag, vers, 0); in classify_file_internal()
775 freevers_ts (vers); in classify_file_internal()
777 NULL, 1, aflag, vers, 0); in classify_file_internal()
782 free ((*vers)->tag); in classify_file_internal()
783 (*vers)->tag = xstrdup (saved_tag); in classify_file_internal()
788 status = Classify_File (finfo, saved_tag, NULL, NULL, 1, 0, vers, 0); in classify_file_internal()
810 Vers_TS *vers; in check_fileproc() local
835 status = classify_file_internal (finfo, &vers); in check_fileproc()
876 if (vers->date) in check_fileproc()
883 if (status == T_MODIFIED && vers->tag && in check_fileproc()
884 !RCS_isbranch (finfo->rcs, vers->tag)) in check_fileproc()
888 vers->tag, finfo->fullname); in check_fileproc()
919 if (vers->ts_user != NULL) in check_fileproc()
927 if (vers->tag && isdigit ((unsigned char) *vers->tag)) in check_fileproc()
936 " tag of `%s'", finfo->fullname, vers->tag); in check_fileproc()
937 freevers_ts (&vers); in check_fileproc()
943 if (vers->tag == NULL) in check_fileproc()
954 else if (isdigit ((unsigned char) *vers->tag) && in check_fileproc()
955 numdots (vers->tag) > 1) in check_fileproc()
959 finfo->fullname, vers->tag); in check_fileproc()
1046 freevers_ts (&vers); in check_fileproc()
1050 li->tag = xstrdup (vers->tag); in check_fileproc()
1053 li->rev_old = status == T_ADDED ? NULL : xstrdup (vers->vn_rcs); in check_fileproc()
1064 if (vers->tag) in check_fileproc()
1065 if (isdigit ((unsigned char) *vers->tag)) in check_fileproc()
1066 ci->rev = xstrdup (vers->tag); in check_fileproc()
1068 ci->rev = RCS_whatbranch (finfo->rcs, vers->tag); in check_fileproc()
1071 ci->tag = xstrdup (vers->tag); in check_fileproc()
1072 ci->options = xstrdup (vers->options); in check_fileproc()
1125 freevers_ts (&vers); in check_fileproc()
1556 Vers_TS *vers; in commit_fileproc() local
1559 (void) classify_file_internal (finfo, &vers); in commit_fileproc()
1561 li->rev_new = xstrdup (vers->vn_rcs); in commit_fileproc()
1562 freevers_ts (&vers); in commit_fileproc()