Lines Matching refs:where

40 static int checkout_proc PROTO((int argc, char **argv, char *where,
113 char *where = NULL;
190 where = optarg;
239 if (where && pipeout)
252 if (server_active && where != NULL)
254 server_pathname_check (where);
308 if (where != NULL)
309 option_with_arg ("-d", where);
324 client_send_expansions (local, where, 1);
377 where, shorten, local, run_module_prog, !pipeout,
524 char *where;
529 * where contains where to put it (if supplied by checkout)
552 /* Allocate space and set up the where variable. We allocate more
556 where = xmalloc (strlen (argv[0])
577 (void) strcpy (where, where_orig);
584 (void) strcpy (where, mwhere);
591 (void) strcpy (where, argv[0]);
599 *where = '\0';
603 (void) strcat (where, where_orig);
604 (void) strcat (where, "/");
612 (void) strcat (where, mwhere);
614 (void) strcat (where, argv[0]);
616 strip_trailing_slashes (where); /* necessary? */
621 where, repository, and argv as appropriate. */
627 repository and where. The last element may refer to either
631 -> simply tack it on to where and repository
656 (void) strcat (where, "/");
657 (void) strcat (where, mfile);
669 where, as we did above. */
673 (void) strcat (where, "/");
674 (void) strcat (where, mfile);
692 strlen (preload_update_dir) + strlen (where) + 5);
694 strcat (preload_update_dir, where);
697 preload_update_dir = xstrdup (where);
700 * At this point, where is the directory we want to build, repository is
731 head->dirpath = xstrdup (where);
743 cp = where + strlen (where);
744 while (cp > where)
748 cp = findslash (where, cp - 1);
754 new->dirpath = xmalloc (strlen (where));
756 /* If the user specified an absolute path for where, the
760 if (cp > where)
762 strncpy (new->dirpath, where, cp - where);
763 new->dirpath[cp - where] = '\0';
767 /* where should always be at least one character long. */
768 assert (where[0] != '\0');
774 /* If where consists of multiple pathname components,
782 && cp - where < strlen (where_orig))
848 int where_is_absolute = isabsolute (where);
853 may not have a thing to do with where the sources are
883 bottom directory (where if where was specified) doesn't
914 server_set_entstat (where, repository);
1009 history_write ('O', preload_update_dir, history_name, where,
1012 history_write ('E', preload_update_dir, tag ? tag : date, where,
1067 history_write ('O', preload_update_dir, history_name, where,
1078 free (where);