| /netbsd/src/external/gpl2/xcvs/dist/src/ |
| D | lock.c | 85 const char *repository; member 161 find_root (const char *repository, char *rootdir) in find_root() argument 169 len = strlen (repository); in find_root() 172 len = p - repository; in find_root() 177 if (stat(repository, &strep) == -1) { in find_root() 190 } while ((p = strrchr (repository, '/')) != NULL); in find_root() 201 lock_name (const char *repository, const char *name) in lock_name() argument 211 repository ? repository : "(null)", name ? name : "(null)"); in lock_name() 218 assert (repository != NULL); in lock_name() 219 retval = Xasprintf ("%s/%s", repository, name); in lock_name() [all …]
|
| D | checkout.c | 536 char *repository; member 549 build_one_dir (char *repository, char *dirpath, int sticky) in build_one_dir() argument 561 if (!isdir (repository)) in build_one_dir() 562 error (1, 0, "there is no repository %s", repository); in build_one_dir() 564 if (Create_Admin (".", dirpath, repository, in build_one_dir() 584 server_set_entstat (dirpath, repository); in build_one_dir() 605 char *repository; in checkout_proc() local 631 repository = xmalloc (strlen (current_parsed_root->directory) in checkout_proc() 635 (void) sprintf (repository, "%s/%s", in checkout_proc() 637 Sanitize_Repository_Name (repository); in checkout_proc() [all …]
|
| D | recurse.c | 31 static char *repository = NULL; variable 46 char *repository; /* Keep track of repository for rtag */ member 230 frame.repository = repository_in; in start_recursion() 240 if (repository) in start_recursion() 242 free (repository); in start_recursion() 243 repository = NULL; in start_recursion() 725 repository = Name_Repository (NULL, update_dir); in do_recursion() 726 srepository = repository; /* remember what to free */ in do_recursion() 729 repository = NULL; in do_recursion() 733 repository = frame->repository; in do_recursion() [all …]
|
| D | add.c | 40 static int build_entry (const char *repository, const char *user, 59 char *repository; in add() local 186 repository = Name_Repository (NULL, NULL); in add() 187 send_a_repository ("", repository, ""); in add() 188 free (repository); in add() 230 repository = Name_Repository (NULL, update_dir); in add() 233 if (strncmp (repository, current_parsed_root->directory, cvsroot_len) == 0 in add() 234 && ISSLASH (repository[cvsroot_len]) in add() 235 && strncmp (repository + cvsroot_len + 1, in add() 238 && ISSLASH (repository[cvsroot_len + sizeof CVSROOTADM]) in add() [all …]
|
| D | annotate.c | 168 char *repository; in rannotate_proc() local 173 repository = xmalloc (strlen (current_parsed_root->directory) + strlen (argv[0]) in rannotate_proc() 175 (void) sprintf (repository, "%s/%s", current_parsed_root->directory, argv[0]); in rannotate_proc() 190 (void) strcat (repository, "/"); in rannotate_proc() 191 (void) strcat (repository, mfile); in rannotate_proc() 198 path = Xasprintf ("%s/%s", repository, mfile); in rannotate_proc() 202 (void) strcpy (repository, path); in rannotate_proc() 217 if (CVS_CHDIR (repository) < 0) in rannotate_proc() 219 error (0, errno, "cannot chdir to %s", repository); in rannotate_proc() 220 free (repository); in rannotate_proc() [all …]
|
| D | repos.c | 143 Short_Repository (const char *repository) in Short_Repository() argument 145 if (repository == NULL) in Short_Repository() 150 if (strncmp (original_parsed_root->directory, repository, in Short_Repository() 153 const char *rep = repository + strlen (original_parsed_root->directory); in Short_Repository() 157 return repository; in Short_Repository() 187 Sanitize_Repository_Name (char *repository) in Sanitize_Repository_Name() argument 191 assert (repository != NULL); in Sanitize_Repository_Name() 193 strip_trailing_slashes (repository); in Sanitize_Repository_Name() 195 len = strlen (repository); in Sanitize_Repository_Name() 197 && repository[len - 1] == '.' in Sanitize_Repository_Name() [all …]
|
| D | import.c | 54 static char *repository; variable 219 repository = Xasprintf ("%s/%s", current_parsed_root->directory, argv[0]); in import() 260 current_parsed_root->isremote ? NULL : repository, in import() 306 client_import_setup (repository); in import() 311 free (repository); in import() 329 if (!access_allowed (NULL, repository, argv[1], 6, NULL, NULL, 1)) in import() 332 "permission denied for %s", Short_Repository (repository)); in import() 350 do_verify (&message, repository, ulist); in import() 357 make_directories (repository); in import() 438 Update_Logfile (repository, message, logfp, ulist); in import() [all …]
|
| D | tag.c | 353 posttag_proc (const char *repository, const char *filter, void *closure) in posttag_proc() argument 356 const char *srepos = Short_Repository (repository); in posttag_proc() 415 tag_filesdoneproc (void *callerdat, int err, const char *repository, in tag_filesdoneproc() argument 422 TRACE (TRACE_FUNCTION, "tag_filesdoneproc (%d, %s, %s)", err, repository, in tag_filesdoneproc() 438 Parse_Info (CVSROOTADM_POSTTAG, repository, posttag_proc, in tag_filesdoneproc() 459 char *repository; in rtag_proc() local 484 repository = xmalloc (strlen (current_parsed_root->directory) in rtag_proc() 488 (void) sprintf (repository, "%s/%s", current_parsed_root->directory, in rtag_proc() 509 (void) strcat (repository, "/"); in rtag_proc() 510 (void) strcat (repository, mfile); in rtag_proc() [all …]
|
| D | server.h | 88 const char *repository); 91 const char *repository, const char *newfile); 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); 139 const char *repository,
|
| D | logmsg.c | 22 static int logfile_write (const char *repository, const char *filter, 25 static int rcsinfo_proc (const char *repository, const char *template, 27 static int update_logfile_proc (const char *repository, const char *filter, 30 static int verifymsg_proc (const char *repository, const char *script, 196 do_editor (const char *dir, char **messagep, const char *repository, in do_editor() argument 207 assert (!current_parsed_root->isremote != !repository); in do_editor() 232 if (repository != NULL) in do_editor() 234 (void) Parse_Info (CVSROOTADM_RCSINFO, repository, rcsinfo_proc, in do_editor() 405 do_verify (char **messagep, const char *repository, List *changes) in do_verify() argument 418 if (noexec || repository == NULL) in do_verify() [all …]
|
| D | commit.c | 36 static int checkaddfile (const char *file, const char *repository, 46 const char *repository, 52 const char *repository); 54 static int precommit_proc (const char *repository, const char *filter, 133 const char *repository; member 143 find_dirent_proc (void *callerdat, const char *dir, const char *repository, in find_dirent_proc() argument 182 p->repos = xstrdup (find_data_static->repository); in find_ignproc() 191 find_filesdoneproc (void *callerdat, int err, const char *repository, in find_filesdoneproc() argument 195 find_data->repository = repository; in find_filesdoneproc() 205 find_data->repository = NULL; in find_filesdoneproc() [all …]
|
| D | patch.c | 280 char *repository; in patch_proc() local 291 repository = xmalloc (strlen (current_parsed_root->directory) in patch_proc() 294 (void)sprintf (repository, "%s/%s", in patch_proc() 311 (void)strcat (repository, "/"); in patch_proc() 312 (void)strcat (repository, mfile); in patch_proc() 319 path = xmalloc (strlen (repository) + strlen (mfile) + 2); in patch_proc() 320 (void)sprintf (path, "%s/%s", repository, mfile); in patch_proc() 324 (void)strcpy (repository, path); in patch_proc() 339 if (CVS_CHDIR (repository) < 0) in patch_proc() 341 error (0, errno, "cannot chdir to %s", repository); in patch_proc() [all …]
|
| D | ls.c | 570 char *repository; in ls_proc() local 584 repository = xmalloc (strlen (current_parsed_root->directory) in ls_proc() 588 (void)sprintf (repository, "%s/%s", current_parsed_root->directory, in ls_proc() 609 (void)strcat (repository, "/"); in ls_proc() 610 (void)strcat (repository, mfile); in ls_proc() 617 path = Xasprintf ("%s/%s", repository, mfile); in ls_proc() 621 (void)strcpy (repository, path); in ls_proc() 635 if (CVS_CHDIR (repository) < 0) in ls_proc() 637 error (0, errno, "cannot chdir to %s", repository); in ls_proc() 638 free (repository); in ls_proc() [all …]
|
| D | cvs.h | 485 List *Find_Directories (char *repository, int which, List *entries); 503 const char *Short_Repository (const char *repository); 504 void Sanitize_Repository_Name (char *repository); 510 typedef int (*CALLPROC) (const char *repository, const char *value, 512 int Parse_Info (const char *infofile, const char *repository, 555 const char *repository; member 579 const char *repository, const char *tag, const char *date, 608 int nonbranch, const char *update_dir, const char *repository); 610 const char *repository); 650 List *Find_Names (char *repository, int which, int aflag, [all …]
|
| D | acl.c | 151 const char *repository; in access_allowed() local 158 repository = xstrdup ("ALL"); in access_allowed() 161 if (strlen(repository = Short_Repository (repos)) == 0) in access_allowed() 163 repository = xstrdup ("."); in access_allowed() 169 strcmp (cache_repository, repository) == 0 && !founddeniedfile in access_allowed() 175 cache_repository = xstrdup (repository); in access_allowed() 179 iline = xstrdup(repository); in access_allowed() 210 filefullname = Xasprintf("%s/%s", repository, file); in access_allowed() 219 accessfp = open_accessfile ("r", repository, NULL); in access_allowed() 866 char *repository; in racl_proc() local [all …]
|
| D | find_names.c | 64 Find_Names (char *repository, int which, int aflag, List **optentries) in Find_Names() argument 90 if ((which & W_REPOS) && repository && !isreadable (CVSADM_ENTSTAT)) in Find_Names() 93 if (find_rcs (repository, files) != 0) in Find_Names() 96 primary_root_inverse_translate (repository)); in Find_Names() 103 char *dir = Xasprintf ("%s/%s", repository, CVSATTIC); in Find_Names() 163 Find_Directories (char *repository, int which, List *entries) in Find_Directories() argument 225 if ((which & W_REPOS) && repository) in Find_Directories() 228 if (find_dirs (repository, dirlist, 0, entries) != 0) in Find_Directories() 229 error (1, errno, "cannot open directory %s", repository); in Find_Directories()
|
| D | remove.c | 208 server_checked_in (finfo->file, finfo->update_dir, finfo->repository); in remove_fileproc() 250 if (!access_allowed (finfo->file, finfo->repository, vers->tag, 7, in remove_fileproc() 255 Short_Repository (finfo->repository)); in remove_fileproc() 258 Short_Repository (finfo->repository), finfo->file); in remove_fileproc() 275 server_checked_in (finfo->file, finfo->update_dir, finfo->repository); in remove_fileproc()
|
| D | create_adm.c | 34 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() 103 reposcopy = xstrdup (repository); in Create_Admin() 168 WriteTag (dir, tag, date, nonbranch, update_dir, repository); in Create_Admin()
|
| D | server.c | 2356 prepost_proxy_proc (const char *repository, const char *filter, void *closure) in prepost_proxy_proc() argument 2365 TRACE (TRACE_FUNCTION, "prepost_proxy_proc (%s, %s, %s)", repository, in prepost_proxy_proc() 4320 output_dir (const char *update_dir, const char *repository) in output_dir() argument 4323 const char *short_repos = Short_Repository (repository); in output_dir() 4501 const char *repository) in checked_in_response() argument 4526 output_dir (update_dir, repository); in checked_in_response() 4536 const char *repository) in server_checked_in() argument 4547 output_dir (update_dir, repository); in server_checked_in() 4555 checked_in_response (file, update_dir, repository); in server_checked_in() 4564 const char *repository, in server_update_entries() argument [all …]
|
| /netbsd/src/external/gpl2/xcvs/dist/contrib/ |
| D | rcs-to-cvs.sh | 78 repository=$1 97 update_dir=${CVSROOT}/${repository} 115 echo "Updating ${repository}/${name}" 119 echo "WARNING: Creating new directory ${repository}/${name}" 132 $0 -v -f $message_file "${repository}/${name}" 134 $0 -f $message_file "${repository}/${name}" 165 echo "WARNING: Creating new file ${repository}/${name}" 181 echo "WARNING: IGNORED: ${repository}/Attic/${name}"
|
| D | rcs2log.sh | 265 repository= 268 repository=`sed 1q <CVS/Repository` || exit 276 pository=`expr "X$repository" : '.*:\(/.*\)'`;; 279 case $repository in 281 *) repository=${CVSROOT?}/$repository;; 283 if test ! -d "$repository" 285 … echo >&2 "$0: $repository: bad repository (see CVS/Repository)" 288 pository=$repository;; 316 case $repository in
|
| D | intro.doc | 12 It works by holding a central 'repository' of the most recent version 15 repository, you can 'update' your copy. 18 files have been put in the repository in the meantime, doing an update 26 the files, you can 'commit' them into the central repository. 43 Suppose you want a copy of the files in repository 'views' to be 60 repository, telling you which files have been updated (their names 84 any number of new files in your copy of the repository, but they 100 repository, delete the file and do an update.
|
| D | cvs_acls.in | 42 repository/path/to/restrict $CVSROOT/CVSROOT/cvs_acls [-d][-u $USER][-f <logfile>] 352 read from top to bottom, keeping track of whether a given user, repository 354 "allowed" on all repository paths until 'allow' and 'deny' rules change 360 the same user, repository and branch, the last one takes precedence. 372 3. Optional, comma-separated list of repository pathnames. 399 CVS passes to @ARGV an absolute directory pathname (the repository 404 the username, repository and branch. 553 ($repository = shift) =~ s:^$cvsroot/::; 554 grep($_ = $repository . '/' . $_, @ARGV); 557 print "$$ Repos: $repository\n","$$ ==== ",join("\n$$ ==== ",@ARGV),"\n" if $debug; [all …]
|
| /netbsd/src/external/gpl2/xcvs/dist/acl/ |
| D | README | 10 and files on branch/tag for remote cvs repository connections. 14 can access and modify repository, if unix file system permissions 16 repository, and not allow local users to access repository, you 22 So, in order to control all access to repository with this ACL 24 users to make remote connections. CVS repository administrator or 36 If a user given n permission, it is not allowed for any action on repository. 39 r permission gives only read access on repository. 46 repository, other permissions should be defines for that. 57 import a file/directory to repository, you have to given a c 66 from repository, d permission have to set. It does not include write [all …]
|
| D | INSTALL | 13 - if you are initializing the repository after applying patch, related 15 "cvs -d /path/to/repository init" 16 - if you already have a repository, you have to add the aclconfig file 21 "cvs -d /path/to/repository racl yourname:p -r ALL -d ALL" 23 on all repository and tags/branches.
|