Home
last modified time | relevance | path

Searched refs:update_dir (Results 1 – 25 of 37) sorted by relevance

12

/openbsd-src/gnu/usr.bin/cvs/src/
H A Dcreate_adm.c25 Create_Admin (dir, update_dir, repository, tag, date, nonbranch, warn, in Create_Admin() argument
28 char *update_dir;
45 dir, update_dir, repository, tag ? tag : "",
58 error (1, 0, "there is a version in %s already", update_dir);
76 CVSADM, update_dir);
82 CVSADM, update_dir);
95 if (update_dir[0] == '\0')
98 error (1, errno, "cannot open %s/%s", update_dir, CVSADM_REP);
134 if (update_dir[0] == '\0')
137 error (1, errno, "write to %s/%s failed", update_dir, CVSADM_REP);
[all …]
H A Drecurse.c22 static char *update_dir; variable
130 update_dir = xstrdup ("");
132 update_dir = xstrdup (update_preload);
162 char *root = Name_Root (NULL, update_dir);
198 if (update_dir[0] == '\0')
201 error (0, 0, "in directory %s:", update_dir);
302 tmp_update_dir = xmalloc (strlen (update_dir)
305 strcpy (tmp_update_dir, update_dir);
357 free (update_dir);
358 update_dir = NULL;
[all …]
H A Dserver.h65 PROTO((char *file, char *update_dir, char *repository));
68 PROTO((char *file, char *update_dir, char *repository, char *newfile));
103 extern void server_set_entstat PROTO((char *update_dir, char *repository));
105 extern void server_clear_entstat PROTO((char *update_dir, char *repository));
108 extern void server_set_sticky PROTO((char *update_dir, char *repository,
114 PROTO((char *file, char *update_dir, char *repository,
H A Drepos.c23 Name_Repository (dir, update_dir) in Name_Repository() argument
25 char *update_dir;
34 if (update_dir && *update_dir)
35 xupdate_dir = update_dir;
H A Dcommit.c25 char *repos, char *update_dir,
29 char *repos, char *update_dir,
34 char *repos, char *update_dir,
37 int err, char *update_dir,
41 char *repository, char *update_dir,
135 char *repository, char *update_dir,
139 find_dirent_proc (callerdat, dir, repository, update_dir, entries) in find_dirent_proc() argument
143 char *update_dir;
162 error (0, 0, "Examining %s", update_dir);
189 char *repository, char *update_dir,
[all …]
H A Dremove.c26 char *repos, char *update_dir,
212 server_checked_in (finfo->file, finfo->update_dir, finfo->repository);
254 server_checked_in (finfo->file, finfo->update_dir, finfo->repository);
268 remove_dirproc (callerdat, dir, repos, update_dir, entries) in remove_dirproc() argument
272 char *update_dir;
276 error (0, 0, "Removing %s", update_dir);
H A Dadd.c204 char *update_dir; local
216 update_dir = "";
221 update_dir = filedir;
222 if (CVS_CHDIR (update_dir) < 0)
224 "could not chdir to %s", update_dir);
228 repository = Name_Repository (NULL, update_dir);
252 send_a_repository ("", repository, update_dir);
268 Subdir_Register ((List *) NULL, update_dir, p);
305 finfo.update_dir = "";
311 finfo.update_dir = argv[i];
[all …]
H A Dupdate.c63 char *repository, char *update_dir,
66 int err, char *update_dir,
70 char *repository, char *update_dir,
828 finfo.update_dir = dir;
845 update_filesdone_proc (callerdat, err, repository, update_dir, entries) in update_filesdone_proc() argument
849 char *update_dir;
854 WriteTag (NULL, tag, date, nonbranch, update_dir, repository);
861 ignore_files (ignlist, entries, update_dir, update_ignproc);
897 update_dirent_proc (callerdat, dir, repository, update_dir, entries) in update_dirent_proc() argument
901 char *update_dir;
[all …]
H A Dtag.c23 char *repos, char *update_dir,
31 char *repos, char *update_dir,
431 if (finfo->update_dir[0] == '\0')
434 xdir = finfo->update_dir;
523 check_filesdoneproc (callerdat, err, repos, update_dir, entries) in check_filesdoneproc() argument
527 char *update_dir;
533 p = findnode(mtlist, update_dir);
1014 tag_dirproc (callerdat, dir, repos, update_dir, entries) in tag_dirproc() argument
1018 char *update_dir;
1022 if (ignore_directory (update_dir))
[all …]
H A Dclient.c2685 send_repository (dir, repos, update_dir) in send_repository() argument
2688 char *update_dir;
2713 if (update_dir == NULL || update_dir[0] == '\0')
2714 update_dir = ".";
2719 && strcmp (update_dir, last_update_dir) == 0)
2724 add_prune_candidate (update_dir);
2728 if (update_dir && (*update_dir != '\0')
2729 && (strcmp (update_dir, ".") != 0)
2730 && (findnode (dirs_sent_to_server, update_dir) == NULL))
2735 n->key = xstrdup (update_dir);
[all …]
H A Dentries.c460 Entries_Open (aflag, update_dir) in Entries_Open() argument
462 char *update_dir;
500 if (update_dir != NULL)
501 error (0, 0, "in directory %s:", update_dir);
640 WriteTag (dir, tag, date, nonbranch, update_dir, repository) in WriteTag() argument
645 char *update_dir;
692 server_set_sticky (update_dir, repository, tag, date, nonbranch);
1027 + strlen (finfo->update_dir)
1031 + strlen (finfo->update_dir)
1034 if (finfo->update_dir[0] != '\0')
[all …]
H A Ddiff.c29 char *pos_repos, char *update_dir,
32 char *repos, char *update_dir,
35 int err, char *update_dir,
770 diff_dirproc (callerdat, dir, pos_repos, update_dir, entries) in diff_dirproc() argument
774 char *update_dir;
784 error (0, 0, "Diffing %s", update_dir);
793 diff_filesdoneproc (callerdat, err, repos, update_dir, entries) in diff_filesdoneproc() argument
797 char *update_dir;
808 diff_dirleaveproc (callerdat, dir, err, update_dir, entries) in diff_dirleaveproc() argument
812 char *update_dir;
H A Dcvs.h455 List *Entries_Open PROTO ((int aflag, char *update_dir));
466 char *Name_Repository PROTO((char *dir, char *update_dir));
470 char *Name_Root PROTO((char *dir, char *update_dir));
522 extern int Create_Admin PROTO ((char *dir, char *update_dir,
546 char *update_dir, char *repository));
619 char *update_dir; member
638 char *repository, char *update_dir,
641 char *repos, char *update_dir,
644 char *update_dir, List *entries));
653 void history_write PROTO((int type, char *update_dir, char *revs, char *name,
H A Dserver.c2462 char *update_dir; local
2465 update_dir = dir_name + strlen (server_temp_dir) + 1;
2466 if (!(update_dir[0] == '.' && update_dir[1] == '\0'))
2468 buf_output0 (buf_to_net, update_dir);
3456 output_dir (update_dir, repository) in output_dir() argument
3457 char *update_dir; in output_dir()
3465 if (update_dir[0] == '\0')
3468 buf_output0 (protocol, update_dir);
3630 checked_in_response (file, update_dir, repository) in checked_in_response() argument
3632 char *update_dir;
[all …]
H A Dstatus.c14 char *repos, char *update_dir,
331 status_dirproc (callerdat, dir, repos, update_dir, entries) in status_dirproc() argument
335 char *update_dir;
339 error (0, 0, "Examining %s", update_dir);
H A Dedit.c42 onoff_filesdoneproc (callerdat, err, repository, update_dir, entries) in onoff_filesdoneproc() argument
46 char *update_dir;
318 if (finfo->update_dir[0] == '\0')
321 error (0, errno, "cannot close %s/%s", finfo->update_dir,
505 if (finfo->update_dir[0] == '\0')
508 error (0, errno, "cannot close %s/%s", finfo->update_dir,
970 notify_check (repository, update_dir) in notify_check() argument
972 char *update_dir;
1011 client_notify (repository, update_dir, filename, notif_type, val);
H A Dignore.c371 ignore_files (ilist, entries, update_dir, proc) in ignore_files() argument
374 char *update_dir;
398 if (strcmp (update_dir, ".") == 0)
401 xdir = update_dir;
H A Dhistory.c701 history_write (type, update_dir, revs, name, repository) in history_write() argument
703 char *update_dir;
799 repos = update_dir;
800 update_dir = "";
802 else if (update_dir && *update_dir)
805 update_dir = "";
808 + strlen (update_dir) + 10);
809 (void) sprintf (workdir, "%s%s%s%s", tilde, PrCurDir, slash, update_dir);
1258 finfo.update_dir = NULL;
H A Droot.c25 Name_Root (dir, update_dir) in Name_Root() argument
27 char *update_dir;
37 if (update_dir && *update_dir)
38 xupdate_dir = update_dir;
H A Dedit.h20 extern void notify_check PROTO ((char *repository, char *update_dir));
H A Dpatch.c21 char *repos, char *update_dir,
757 patch_dirproc (callerdat, dir, repos, update_dir, entries) in patch_dirproc() argument
761 char *update_dir;
765 error (0, 0, "Diffing %s", update_dir);
H A Dadmin.c19 char *repos, char *update_dir,
965 admin_dirproc (callerdat, dir, repos, update_dir, entries) in admin_dirproc() argument
969 char *update_dir;
973 error (0, 0, "Administrating %s", update_dir);
H A Dno_diff.c66 (finfo->file, finfo->update_dir, finfo->repository, SERVER_UPDATED);
H A Dlock.c863 char *repository, char *update_dir,
871 lock_filesdoneproc (callerdat, err, repository, update_dir, entries) in lock_filesdoneproc() argument
875 char *update_dir;
/openbsd-src/gnu/usr.bin/cvs/contrib/
H A Drcs-to-cvs.sh88 update_dir=${CVSROOT}/${repository}
89 [ ! -d ${update_dir} ] && mkdir $update_dir
109 if [ ! -d "${update_dir}/${name}" ]; then
111 mkdir "${update_dir}/${name}"
137 file="${update_dir}/${name},v"
155 if [ ! -f "${update_dir}/Attic/${name},v" ]; then
171 file="${update_dir}/Attic/${name},v"

12