Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dcreate_adm.c34 Create_Admin (const char *dir, const char *update_dir, const char *repository, in Create_Admin() argument
44 dir, update_dir, repository, tag ? tag : "", in Create_Admin()
53 error (0, 0, "there is a version in %s already", update_dir); in Create_Admin()
75 CVSADM, update_dir); in Create_Admin()
80 CVSADM, update_dir); in Create_Admin()
98 if (update_dir[0] == '\0') in Create_Admin()
101 error (1, errno, "cannot open %s/%s", update_dir, CVSADM_REP); in Create_Admin()
133 if (update_dir[0] == '\0') in Create_Admin()
136 error (1, errno, "write to %s/%s failed", update_dir, CVSADM_REP); in Create_Admin()
140 if (update_dir[0] == '\0') in Create_Admin()
[all …]
H A Drecurse.c30 static char *update_dir; variable
235 update_dir = xstrdup (""); in start_recursion()
237 update_dir = xstrdup (update_preload); in start_recursion()
267 cvsroot_t *root = Name_Root (NULL, update_dir); in start_recursion()
305 if (update_dir[0] == '\0') in start_recursion()
308 error (0, 0, "in directory %s:", update_dir); in start_recursion()
411 tmp_update_dir = xmalloc (strlen (update_dir) in start_recursion()
414 strcpy (tmp_update_dir, update_dir); in start_recursion()
463 free (update_dir); in start_recursion()
464 update_dir = NULL; in start_recursion()
[all …]
H A Dserver.h87 void server_checked_in (const char *file, const char *update_dir,
90 void server_copy_file (const char *file, const char *update_dir,
124 void server_set_entstat (const char *update_dir, const char *repository);
126 void server_clear_entstat (const char *update_dir, const char *repository);
129 void server_set_sticky (const char *update_dir, const char *repository,
133 void server_clear_template (const char *update_dir, const char *repository);
136 void server_template (const char *update_dir, const char *repository);
138 void server_update_entries (const char *file, const char *update_dir,
H A Ddiff.c36 const char *pos_repos, const char *update_dir,
39 const char *repos, const char *update_dir,
42 int err, const char *update_dir,
877 const char *update_dir, List *entries) in diff_dirproc() argument
891 if (!access_allowed (NULL, update_dir, diff_rev1, 5, NULL, NULL, 1)) in diff_dirproc()
895 Short_Repository (update_dir)); in diff_dirproc()
898 Short_Repository (update_dir), update_dir); in diff_dirproc()
905 if (!access_allowed (NULL, update_dir, diff_rev2, 5, NULL, NULL, 1)) in diff_dirproc()
909 Short_Repository (update_dir)); in diff_dirproc()
912 Short_Repository (update_dir), update_dir); in diff_dirproc()
[all …]
H A Dls.c377 p = findnode (callerdat, finfo->update_dir); in ls_fileproc()
446 const char *update_dir, List *entries) in ls_direntproc() argument
460 parent = xmalloc (strlen (update_dir) - strlen (dir) + 1); in ls_direntproc()
461 strncpy (parent, update_dir, strlen (update_dir) - strlen (dir)); in ls_direntproc()
462 parent[strlen (update_dir) - strlen (dir)] = '\0'; in ls_direntproc()
497 p->key = xstrdup (strcmp (update_dir, ".") ? update_dir : ""); in ls_direntproc()
516 created_dir = xstrdup (update_dir); in ls_direntproc()
519 Create_Admin (dir, update_dir, repos, show_tag, show_date, in ls_direntproc()
539 const char *update_dir, List *entries) in ls_dirleaveproc() argument
541 if (created_dir && !strcmp (created_dir, update_dir)) in ls_dirleaveproc()
H A Dadd.c203 char *update_dir; in add() local
218 update_dir = ""; in add()
223 update_dir = filedir; in add()
224 if (CVS_CHDIR (update_dir) < 0) in add()
226 "could not chdir to `%s'", update_dir); in add()
230 repository = Name_Repository (NULL, update_dir); in add()
253 send_a_repository ("", repository, update_dir); in add()
271 Subdir_Register (NULL, update_dir, p); in add()
309 finfo.update_dir = ""; in add()
315 finfo.update_dir = filename; in add()
[all …]
H A Dedit.c46 const char *update_dir, List *entries) in onoff_filesdoneproc() argument
199 notify_do (notif_type, filename, finfo->update_dir, getcaller (), val, in ncheck_fileproc()
339 finfo.update_dir = dir_name (short_pathname); in edit_file()
341 free ((char *)finfo.update_dir); in edit_file()
415 if (finfo->update_dir[0] == '\0') in edit_fileproc()
418 error (0, errno, "cannot close %s/%s", finfo->update_dir, in edit_fileproc()
651 if (finfo->update_dir[0] == '\0') in unedit_fileproc()
654 error (0, errno, "cannot close %s/%s", finfo->update_dir, in unedit_fileproc()
872 notify_do (int type, const char *filename, const char *update_dir, in notify_do() argument
897 if (update_dir && *update_dir) in notify_do()
[all …]
H A Dcommit.c31 const char *repos, const char *update_dir,
35 const char *update_dir, List *entries);
40 const char *repos, const char *update_dir,
43 const char *update_dir, List *entries);
47 const char *update_dir, List *entries);
144 const char *update_dir, List *entries) in find_dirent_proc() argument
162 error (0, 0, "Examining %s", update_dir); in find_dirent_proc()
192 const char *update_dir, List *entries) in find_filesdoneproc() argument
201 ignore_files (find_data->ignlist, entries, update_dir, find_ignproc); in find_filesdoneproc()
965 if (finfo->update_dir[0] == '\0') in check_fileproc()
[all …]
H A Drepos.c31 Name_Repository (const char *dir, const char *update_dir) in Name_Repository() argument
40 if (update_dir && *update_dir) in Name_Repository()
41 xupdate_dir = update_dir; in Name_Repository()
H A Dclient.c2329 send_repository (const char *dir, const char *repos, const char *update_dir) in send_repository() argument
2354 if (!update_dir || update_dir[0] == '\0') in send_repository()
2355 update_dir = "."; in send_repository()
2358 && last_update_dir && !strcmp (update_dir, last_update_dir)) in send_repository()
2363 add_prune_candidate (update_dir); in send_repository()
2367 if (update_dir && *update_dir != '\0' && strcmp (update_dir, ".") in send_repository()
2368 && !findnode (dirs_sent_to_server, update_dir)) in send_repository()
2373 n->key = xstrdup (update_dir); in send_repository()
2389 const char *p = update_dir; in send_repository()
2466 last_update_dir = xstrdup (update_dir); in send_repository()
[all …]
H A Dremove.c33 const char *repos, const char *update_dir,
208 server_checked_in (finfo->file, finfo->update_dir, finfo->repository); in remove_fileproc()
275 server_checked_in (finfo->file, finfo->update_dir, finfo->repository); in remove_fileproc()
292 const char *update_dir, List *entries) in remove_dirproc() argument
295 error (0, 0, "Removing %s", update_dir); in remove_dirproc()
H A Dcvs.h487 List *Entries_Open (int aflag, char *update_dir);
502 char *Name_Repository (const char *dir, const char *update_dir);
546 const char *update_dir; member
578 int Create_Admin (const char *dir, const char *update_dir,
608 int nonbranch, const char *update_dir, const char *repository);
609 void WriteTemplate (const char *update_dir, int dotemplate,
669 const char *repository, const char *update_dir,
672 const char *repos, const char *update_dir,
675 const char *update_dir, List *entries);
684 void history_write (int type, const char *update_dir, const char *revs,
H A Dentries.c435 Entries_Open (int aflag, char *update_dir) in Entries_Open() argument
473 if (update_dir != NULL) in Entries_Open()
474 error (0, 0, "in directory %s:", update_dir); in Entries_Open()
611 WriteTemplate (const char *update_dir, int xdotemplate, const char *repository) in WriteTemplate() argument
614 TRACE (TRACE_FUNCTION, "Write_Template (%s, %s)", update_dir, repository); in WriteTemplate()
625 server_clear_template (update_dir, repository); in WriteTemplate()
626 server_template (update_dir, repository); in WriteTemplate()
640 const char *update_dir, const char *repository) in WriteTag() argument
684 server_set_sticky (update_dir, repository, tag, date, nonbranch); in WriteTag()
984 if (finfo->update_dir[0] != '\0') in base_walk()
[all …]
H A Dupdate.c70 const char *update_dir,
73 int err, const char *update_dir,
78 const char *update_dir, List *entries);
828 finfo.update_dir = dir; in update_ignproc()
843 const char *update_dir, List *entries) in update_filesdone_proc() argument
848 WriteTag (NULL, tag, date, nonbranch, update_dir, repository); in update_filesdone_proc()
855 ignore_files (ignlist, entries, update_dir, update_ignproc); in update_filesdone_proc()
890 const char *update_dir, List *entries) in update_dirent_proc() argument
892 if (ignore_directory (update_dir)) in update_dirent_proc()
896 error (0, 0, "Ignoring %s", update_dir); in update_dirent_proc()
[all …]
H A Dserver.c2729 char *update_dir; member
2793 new->update_dir = xmalloc (strlen (gupdate_dir) + 1); in serve_notify()
2795 if (new->dir == NULL || new->update_dir == NULL || new->filename == NULL) in serve_notify()
2804 strcpy (new->update_dir, gupdate_dir); in serve_notify()
2888 free (new->update_dir); in serve_notify()
2941 notify_list->update_dir, getcaller(), notify_list->val, in server_notify()
3263 char *update_dir; in serve_questionable() local
3266 update_dir = gDirname + strlen (server_temp_dir) + 1; in serve_questionable()
3267 if (!(update_dir[0] == '.' && update_dir[1] == '\0')) in serve_questionable()
3269 buf_output0 (buf_to_net, update_dir); in serve_questionable()
[all …]
H A Dtag.c31 const char *repos, const char *update_dir,
40 const char *repos, const char *update_dir,
416 const char *update_dir, List *entries) in tag_filesdoneproc() argument
423 update_dir); in tag_filesdoneproc()
426 p = findnode (mtlist, update_dir); in tag_filesdoneproc()
640 if (finfo->update_dir[0] == '\0') in check_fileproc()
643 xdir = finfo->update_dir; in check_fileproc()
732 const char *update_dir, List *entries) in check_filesdoneproc() argument
739 p = findnode (mtlist, update_dir); in check_filesdoneproc()
1448 const char *update_dir, List *entries) in tag_dirproc() argument
[all …]
H A Droot.c34 Name_Root (const char *dir, const char *update_dir) in Name_Root() argument
48 update_dir ? update_dir : "(null)"); in Name_Root()
50 if (update_dir && *update_dir) in Name_Root()
51 xupdate_dir = update_dir; in Name_Root()
H A Dstatus.c21 const char *repos, const char *update_dir,
369 const char *update_dir, List *entries) in status_dirproc() argument
372 error (0, 0, "Examining %s", update_dir); in status_dirproc()
H A Dadmin.c23 const char *repos, const char *update_dir,
202 const char *update_dir, List *entries) in admin_filesdoneproc() argument
205 update_dir); in admin_filesdoneproc()
722 history_write ('X', finfo->update_dir, admin_data->cmdline, finfo->file, in admin_fileproc()
1094 const char *update_dir, List *entries) in admin_dirproc() argument
1097 error (0, 0, "Administrating %s", update_dir); in admin_dirproc()
H A Dcheckin.c56 switch (RCS_checkin (finfo->rcs, finfo->update_dir, finfo->file, message, in Checkin()
171 server_checked_in (finfo->file, finfo->update_dir, in Checkin()
H A Dhistory.c765 history_write (int type, const char *update_dir, const char *revs, in history_write() argument
840 repos = update_dir; in history_write()
841 update_dir = ""; in history_write()
843 else if (update_dir && *update_dir) in history_write()
846 update_dir = ""; in history_write()
848 workdir = Xasprintf ("%s%s%s%s", tilde, PrCurDir, slash, update_dir); in history_write()
1327 finfo.update_dir = NULL; in select_hrec()
H A Dignore.c362 ignore_files (List *ilist, List *entries, const char *update_dir, in ignore_files() argument
385 if (strcmp (update_dir, ".") == 0) in ignore_files()
388 xdir = update_dir; in ignore_files()
H A Dwatch.c229 const char *update_dir, List * entries) in addremove_filesdoneproc() argument
240 set_default = strcmp( update_dir, the_args.dirs[ dir_check ] )==0; in addremove_filesdoneproc()
242 …set_default = strncmp( update_dir, the_args.dirs[ dir_check ], strlen( the_args.dirs[ dir_check ] … in addremove_filesdoneproc()
H A Dedit.h20 extern void notify_check (const char *repository, const char *update_dir);
/netbsd-src/external/gpl2/xcvs/dist/contrib/
H A Drcs-to-cvs.sh97 update_dir=${CVSROOT}/${repository}
98 [ ! -d ${update_dir} ] && mkdir $update_dir
118 if [ ! -d "${update_dir}/${name}" ]; then
120 mkdir "${update_dir}/${name}"
146 file="${update_dir}/${name},v"
164 if [ ! -f "${update_dir}/Attic/${name},v" ]; then
180 file="${update_dir}/Attic/${name},v"

12