Lines Matching refs:repository

15  * "checkout" creates a "version" of an RCS repository.  This version is owned
25 * exist in the repository.
35 * repository. The second contains one line for each registered file,
38 * edited by the user, if necessary (when the repository is moved, e.g.)
62 "\t-T\tCreate Template file from local repository for remote commit.\n",
276 error(1, 0, "Cannot check out files into the repository itself");
538 char *repository;
555 build_one_dir (repository, dirpath, sticky)
556 char *repository;
570 if (!isdir (repository))
571 error (1, 0, "there is no repository %s", repository);
573 if (Create_Admin (".", dirpath, repository,
593 server_set_entstat (dirpath, repository);
620 char *repository;
634 /* Set up the repository (maybe) for the bottom directory.
637 repository = xmalloc (strlen (current_parsed_root->directory)
641 (void) sprintf (repository, "%s/%s", current_parsed_root->directory, argv[0]);
642 Sanitize_Repository_Name (repository);
687 which is this module'e directory in the repository. */
719 where, repository, and argv as appropriate. */
725 repository and where. The last element may refer to either
729 -> simply tack it on to where and repository
752 (void) strcat (repository, "/");
753 (void) strcat (repository, mfile);
762 path = xmalloc (strlen (repository) + strlen (mfile) + 5);
763 (void) sprintf (path, "%s/%s", repository, mfile);
766 /* It's a directory, so tack it on to repository and
769 (void) strcat (repository, "/");
770 (void) strcat (repository, mfile);
798 * At this point, where is the directory we want to build, repository is
799 * the repository for the lowest level of the path.
817 if (strncmp (repository, current_parsed_root->directory,
821 repository, current_parsed_root->directory);
828 head->repository = NULL;
834 /* Make a copy of the repository name to play with. */
835 reposcopy = xstrdup (repository);
882 new->repository = NULL;
889 /* Now figure out what repository directory to generate.
909 repository should be Emptydir. */
910 new->repository = emptydir_name ();
914 /* It's a directory in the repository! */
927 new->repository = xmalloc (strlen (reposcopy) + 5);
928 (void) strcpy (new->repository, reposcopy);
932 /* Special case -- the repository name needs
936 code that handles repository names. */
937 (void) strcat (new->repository, "/.");
959 bits for the top-level repository. FIXME? */
989 /* set up the repository (or make sure the old one matches) */
997 if (!isdir (repository))
998 error (1, 0, "there is no repository %s", repository);
1000 Create_Admin (".", preload_update_dir, repository,
1008 server_set_entstat (where, repository);
1014 if (!isdir (repository))
1015 error (1, 0, "there is no repository %s", repository);
1017 Create_Admin (".", preload_update_dir, repository, tag, date,
1035 /* get the contents of the previously existing repository */
1037 if (fncmp (repository, repos) != 0)
1039 error (0, 0, "existing repository %s does not match %s",
1040 repos, repository);
1052 * repository directory so the recursion processor can use the current
1053 * directory as the place to find repository information
1057 if ( CVS_CHDIR (repository) < 0)
1059 error (0, errno, "cannot chdir to %s", repository);
1067 repository);
1077 repository);
1089 repository);
1092 repository);
1105 history_name, where, repository);
1110 preload_update_dir, pull_template, repository);
1132 finfo.repository = repository;
1136 finfo.rcs = RCS_parse (finfo.file, repository);
1160 repository);
1166 join_rev2, preload_update_dir, pull_template, repository);
1171 free (repository);
1196 char *repository;
1198 repository = xmalloc (strlen (current_parsed_root->directory)
1202 (void) sprintf (repository, "%s/%s/%s", current_parsed_root->directory,
1204 if (!isfile (repository))
1208 if (CVS_MKDIR (repository, 0777) < 0)
1209 error (1, errno, "cannot create %s", repository);
1212 return repository;
1216 * repositories. If DIRS->repository is NULL or the directory already exists,
1262 if (dirs->repository != NULL)
1264 build_one_dir (dirs->repository, dirs->dirpath, sticky);
1265 free (dirs->repository);
1276 if (dirs->repository != NULL)
1277 free (dirs->repository);