- Jun 03, 1996
- May 30, 1996
- May 29, 1996
-
-
kingdon authored
of return value. * modules.c (do_module): Pass 0, not -1, to indicate line number not known. Free value returned from expand_path. Deal with NULL return from expand_path.
-
woods authored
-
woods authored
specfied by one of '-o', '-t', or '-e' in the modules file before passing it to run_setup(). This makes it possible to use $CVSROOT (or indeed ~user or any other user-specified variable) to specify pathnames for programs not installed in the normal execution path.
-
- May 28, 1996
-
-
kingdon authored
* TESTS: Explain out-of-order bug.
-
kingdon authored
the tests if they don't have the time to look at the results. Move most of the discussion of tests to new file TESTS, and add some information on interpreting check.log output. * README: In brief summary of install, don't spell out details of "make check" or "cvs init" steps.
-
- May 27, 1996
-
-
woods authored
-
woods authored
(parse_cvsroot): same.... (DEBUG main): same, plus style guidelines (DEBUG error): deleted -- not necessary here (use fprintf instead)
-
kingdon authored
there is no argument to go with it. Do include "internal error" in error message since that might not be clear to the user otherwise.
-
woods authored
-
woods authored
done if you change any of the options for a module. (loginfo_contents): fixed grammar, re-pargraphed, and added 'echo %s;' to the example. (editinfo_contents): minor grammar fix.
-
kingdon authored
sdtp->options. Whatever case that was intended to handle is probably lost in the mists of time, but sdtp->options isn't set anywhere, and I think that has been true for a long time. * cvs.h (struct stickydirtag): remove options field. * entries.c (freesdt): Don't free ->options. * sanity.sh (binfiles): New tests binfiles-13a* test for above fix.
-
- May 26, 1996
- May 25, 1996
-
-
kingdon authored
command option parsing should be up to each subcommand and the -H global option works fine.
-
- May 24, 1996
-
-
noel authored
user to use ":server:" instead of setting CVS_CLIENT_PORT to a negative number. * main.c (main): Add #ifdefs for turning off buffering of stdio/stderr, so we don't get it by default. * commit.c (commit_filesdoneproc): Print the repository and root directories as part of the error message. * main.c (main): Don't buffer stdout or stderr. It's inefficient, but it then produces the right output for sanity.sh. * main.c (usg): revert usage strings for `-H' flag change. * client.c (filter_through_gunzip): use "gzip -d" instead of "gunzip," since there's no good reason (on NT at least) to have an extra copy of gzip.exe copied to gunzip.exe (Arrrrgh! No symbolic links!). * mkmodules.c (init): check to see that we have the correct number of arguments or print out the usage message (used to be argc > 1, should be argc != 1, because help forces argc == -1 as a special case). * root.c (parse_cvsroot): removed "rsh" as an alias to "server" in the method section. * main.c (main): new variable help so we can support the `cvs -H cmd' convention. Reverts change of 26 Apr 96 which removed this feature. * main.c (main): update error message if parse_cvsroot fails. * server.c (serve_root): same. (serve_init): same. * client.c (start_tcp_server): get rid of the "fall through" stuff, now that we have access methods. (start_server): switch off the access method to choose routine that starts the server. (start_tcp_server): tofd wasn't getting set to -1 early enough, because a call to error for bind or gethostbyname might fail and the subsequent error check to see if the connection had been made would fail. * root.c: new variable method_names for error reporting purposes. * server.c: moved kerberos #includes from main.c for the kserver_authenticate_connection routine. * server.c (serve_init): use the new return value from parse_cvsroot. (serve_root): same. * main.c (main): same. * root.c (parse_cvsroot): fix indentation, add a return value which tells whether the command succeeded or failed. * main.c (main): move the setting of the UMASK environment variable inside the stuff that gets done if the user is NOT asking for help, so we don't signal any errors prematurely (don't want to give an error because we can't parse an environment variable correctly if the user asks for help). Similar mods for the code that tries to get the working directory. Also make CVSADM_Root a local variable instead of a global, since its scope is only about 20 lines here! * server.c (kserver_authenticate_connection): moved code from main.c to clean up MAIN. Makes sense, since we already have a pserver_authenticate_connection. (pserver_authenticate_connection): rename from authenticate_connection. * main.c (main): reorganized the routine to eliminate variables help, help_commands, and version_flag. Now the routine is much clearer, since we don't have to be checking to see if these variables are set. One behavior that was a bug/feature which is now gone is an invocation like "cvs -H rtag" -- previously this would give usage for rtag, but now gives usage for cvs itself. The first behavior didn't make sense, especially since we say in the docs that command-line flags are position-specific. *Reverted Above* * main.c (main): make sure we have a valid command name before we do anything else (moved the thing that looks for a command in CMDS to right after the GETOPT loop). Added `kserver' and `pserver' to the table so they will be recognized; set their functions to SERVER so that help will be given when asked for. * expand_path.c (expand_variable): return CVSroot_original rather than CVSroot_directory. * main.c (main): save CVSroot in the env rather than CVSroot_original, since we might not have called PARSE_CVSROOT (this can happen if we use the -H option to a command). * root.c (parse_cvsroot): the parsing method was bogus for guessing when we had hostnames vs. directories specified. Any ambiguity should be removed by having the user specify the access method. If the access method isn't specified, choose server_method if the string contains a colon or local_method otherwise. * Changed CVSroot_remote back to client_active since the code reads better. * create_adm.c (Create_Admin): pass CVSroot_original instead of CVSroot_directory (oops!). * update.c (update_filesdone_proc): same. * server.c (serve_root): modify to use parse_cvsroot rather than goofing around with other variables. Will need to fix parse_cvsroot to have a return value so we can return an error and quit gracefully if in server mode. (serve_init): same. * main.c: modify command table to remove client_* routines, since they no longer exist. (main): don't try to switch off non-existent field in command table! ;-) * client.h (client_*): removed prototypes for now non-existent functions. * client.c: remove proto for get_cvs_password, since it is now in cvs.h. Modify routines to use new globals that describe CVSROOT rather than client_active, server_host, server_user, and server_cvsroot. (parse_cvsroot): removed function, since a more generic version now lives in root.c. (connect_to_pserver): remove call to parse_cvsroot, since main.c has already done it for us. (client_*): removed all of these routines, since they only call parse_cvsroot and then their respective operation functions. Since main.c has already called parse_cvsroot, we shouldn't bother with the extra function call, since client-server diffs are already handled in the core routines themselves. * main.c: remove CVSroot as a global variable. Remove use_authenticating_server variable since we have a new `CVSroot_method' variable instead. (main): add `CVSroot' as a local variable. Call parse_cvsroot after we're sure we have the right setting for `CVSroot.' * login.c (login): update to use new global variables. Instead of old behavior which let the user type in user@host when prompted, it makes them do it in CVSROOT proper. The routine still lets the user type the password, however. (get_cvs_password): make sure that CVSROOT is fully qualified before trying to find the entry in the .cvspass file. * cvs.h: add prototype for get_cvs_password. * add.c: use new globals that describe CVSROOT. * admin.c: same. * checkout.c: same. * commit.c: same. * create_adm.c: same. * diff.c: same. * edit.c: same. * expand_path.c: same. * history.c: same. * ignore.c: same. * import.c: same. * log.c: same. * mkmodules.c: same. * modules.c: same. * parseinfo.c: same. * patch.c: same. * rcs.c: same. * recurse.c: same. * release.c: same. * remove.c: same. * repos.c: same. * rtag.c: same. * status.c: same. * tag.c: same. * update.c: same. * watch.c: same. * wrapper.c: same. * root.c (Name_Root): remove error message that reports missing CVSROOT, since new code in main.c will catch it and also print out an error. (parse_cvsroot): new function -- takes a CVSROOT string and breaks it up into its component parts -- method, hostname, username, and repository directory. Sets new global variables that describe the repository location more precisely: CVSroot_original, CVSroot_remote, CVSroot_method, CVSroot_username, CVSroot_hostname, CVSroot_directory for use by all other functions. Checks for obvious errors in format of string. (main): a short routine to test parse_cvsroot from the command line. * cvs.h: add prototype for parse_cvsroot and extern definitions for new globals. * cvs.h: removed CVSroot variable, since we don't want other routines using the raw CVSROOT (also helped to find all of the refs to the variable!).
-
noel authored
"client". Fix it. Say explicitly that there is no server on NT. Fix typos (4,0 -> 4.0; CVS.system -> CVS). * README: explain which utilities are required for client support and local support in separate paragraphs. * filesubr.c (expand_wild): rename max to cvs_max to avoid conflicts with other already-defined routines. (get_homedir): rename min to cvs_min. * sanity.sh: Hacked version of src/sanity.sh for use under CYGWIN32. * filesubr.c (expand_wild): Since FindFirstFile and FindNextFile don't return the pathname of a file, we need to keep track of it ourselves. * options.h: Fix defines for DIFF and GREP. * run.c (run_exec): Flush stdout and stderr so we end up with the correct interleaving of output for sanity.sh. This can be removed later, if desired. * README: mention that grep is mandatory. * filesubr.c (get_homedir): use both HOMEDRIVE and HOMEPATH to construct the user's home directory.
-
noel authored
(Password authentication server): Revert erroneous change regarding the format of CVSROOT/passwd file. * cvsclient.texi (Notes): Removed paragraphs about various server invocations which are now described in full in node "Connection and Authentication." (Requests): Include a note that "gzip-file-contents" doesn't follow the upper/lowercase convention and that unknown reqests always elicit a response, regardless of capitalization. * cvs.texinfo (Kerberos authenticated): Removed bogus version number. (Repository): explain the ":local:" access method. * cvsclient.texi (Goals): mention access methods. (Requests): add note about convention: requests starting with a captial letter don't have any expected response. Made sure each request has a "Response expected" note. * cvs.texinfo (Remote repositories): add info about access methods; fix pserver info.
-
noel authored
* NEWS: Mention all access methods. * NEWS: add info about access methods and document behavior change for "cvs login." * cvsnt.mak: remove all of those unnecessary libraries! We only need advapi32.lib and wsock32.lib.
-
kingdon authored
fact that FAQ is no longer maintained. (What is CVS?): Mention comp.software.config-mgmt as well as info-cvs. Mention the fact that info-cvs-request can be slow in responding. (What is CVS?): Rather than say that cvs is not a configuration mangement system, say specifically what it lacks (change control, etc.). I added process control (which was sorely lacking from the list of configuration management functionality), and deleted some functions such as tape construction which are not provided by the well-known configuration management systems.
-
kingdon authored
for listing here is fairly easy portability stuff.
-
kingdon authored
NULL at the end of the function.
-
kingdon authored
subdirectories (lack of clarity pointed out by ian@cygnus.com). Add comment about that infernal "short as possible" wording.
-
kingdon authored
(reported by ian@cygnus.com). Remove footnote "Yes, this really should be fixed, and it's being worked on"--it isn't clear what "this" is, and I doubt anyone is working on it.
-
kingdon authored
* checkout.c (checkout): In code to handle multiple arguments, pass preload_update_dir, not where, to Create_Admin. (checkout_proc): Pass preload_update_dir, not where, to Create_Admin. Thu May 23 19:14:35 1996 Jim Kingdon <kingdon@harvey.cyclic.com> * server.c (server_set_sticky): Assert that update_dir != NULL. * sanity.sh (basicb): New test; tests for Ian's fix to checkout.c above.
-
- May 23, 1996
-
-
kingdon authored
* patch.c (patch_fileproc): Don't ignore a file just because it is in the Attic directory. Thu May 23 10:40:24 1996 Jim Kingdon <kingdon@harvey.cyclic.com> * sanity.sh (death): New tests death-{72a,76a0,76a1} test for bug fixed by Ian's patch_fileproc change above. * sanity.sh (death): Remove "temporary hack" in test 89.
-
kingdon authored
* rcs.c (RCS_fast_checkout): If error closing file, and workfile is NULL, use sout in error message instead of workfile. Thu May 23 1996 Ian Lance Taylor <ian@cygnus.com> * rcs.c (RCS_fast_checkout): Do a fast checkout in the case where workfile is NULL and sout is a file name.
-
kingdon authored
* update.c (checkout_file): New arg resurrecting_out, to provide resurrecting flag to caller. (join_file): New arg resurrecting. Register with "0" if we are the server and are resurrecting. (update_fileproc): Pass the flag from checkout_file to join_file. Wed May 22 19:06:23 1996 Jim Kingdon <kingdon@harvey.cyclic.com> * sanity.sh (death): Test for above fix, in test 89 and new test 89a.
-
- May 21, 1996
-
-
kingdon authored
directory, and that filename for Questionable cannot contain "/".
-
kingdon authored
* commit.c (find_*): Keep an ignlist, like update.c and client.c do. * commit.c (commit): Process the files from the ignlists, once we are connected to the server. * sanity.sh (ignore): New tests 189e and 189f test for new commit.c behavior (and client.c behavior, which is unchanged). * sanity.sh (conflicts): Remove dir1 and sdir in parts of the test where we aren't prepared for "? dir1" and similar output.
-