6 * Piped checkouts of paths above $CVSROOT no longer work. Previously, clients
7 could have requested the contents of RCS archive files anywhere on a CVS
10 CLIENT SECURITY ISSUES
12 * Clients now check paths from the server to verify that they are within one of
13 the sandboxes the user requested be updated. Previously, a trojan server
14 could have written or overwritten files anywhere the user had access,
15 presenting a serious security risk.
19 * Method options (used by WinCVS & CVS 1.12.7+) in CVSROOTs are ignored.
21 * Configure no longer checks the $TMPDIR, $TMP, & $TEMP variables to set the
22 default temporary directory.
24 * CVS on Cygwin correctly handles X:\ style paths.
26 * Import now uses backslash rather than slash on Windows when checking for
27 "CVS" directories to ignore in import commands.
29 * Relative paths containing up-references (`..') should now work in
30 client/server mode (client fix).
32 * A race condition between the ordering of messages from CVS and messages from
33 called scripts in client/server mode has been removed (server fix).
35 * Resurrected files now get their modes and timestamps set correctly and a
36 longstanding bug involving resurrection of an uncommitted removal has been
39 * Some resurrection (cvs add) status messages have changed slightly.
41 * `cvs release' now works with Kerberos or GSSAPI encryption enabled (server
44 * File resurrection from a previously existing revision no longer just reports
45 that it works (server fix).
47 * Misc error & status message corrections.
49 * Diffing of locally added files against arbitrary revisions in an RCS archive
50 is now allowed when a file of the same name exists or used to exist on some
53 * Misc documentation fixes.
55 Changes from 1.11.13 to 1.11.14:
56 ********************************
60 * Imports will now always ignore directories and files named `CVS' to avoid
61 violating assumptions made by other parts of CVS.
63 * A problem with `cvs release' of subdirs that could corrupt CVS/Entries files
64 has been fixed (client/server).
66 * The CVS server's protocol check for unused data from the client is no longer
67 called automatically at program exit in order to avoid potential recursive
68 calls to error when the first close is due to memory allocation or similar
69 problems that cause calls to error() to fail. The check is still made when
70 the server program exits normally.
72 * The spec file has been updated to work with more recent versions of RPM.
74 * Several memory leaks have been plugged (client/server).
78 * Misc cosmetic, readability, and commenting fixes.
80 Changes from 1.11.12 to 1.11.13:
81 ********************************
85 * Several memory leaks have been plugged.
87 * Thanks to Ville Skyttä the man page has a few less spelling errors and is
88 slightly more accurate.
90 * An unlikely potential segfault when using the :fork: connection method has
93 * The CVS server has had the protocol check for unused data from the client
96 * A fix has been included that should avoid a very rare race condition that
97 could cause a CVS server to exit with a "broken pipe" message.
99 * A minor problem with the nmake build file that was preventing the source from
100 compiling under Windows has been fixed.
102 * Tests have been added to the test suite.
106 * Misc cosmetic, readability, and commenting fixes.
108 Changes from 1.11.11 to 1.11.12:
109 ********************************
113 * Infinite alias loops in the modules file are now checked for and avoided.
115 * Clients on case insensitive systems now preserve the case of directories in
116 CVS/Entries, in addition to files, for use in communications with the CVS
119 * Some previously untested behavior is now being tested.
121 * Server support for case insensitive clients has been removed in favor of the
122 server relying on the client to preserve the case of checked out files, as
123 per the CVS client/server protocol spec. This is not as drastic as it may
124 sound, as all of the current tests still pass without modification when run
125 from a case insensitive client to a case sensitive server. This change
126 disables little previous functionality, enables access to more of the
127 possible namespace to users on systems with case insensitive file systems,
128 fixes a few bugs, and in the end this should provide a major stability
131 * Thanks to Ville Skyttä the man page is a bit more accurate.
133 * Thanks to Ville Skyttä some unused variables were removed from the log_accum
134 Perl script in contrib.
136 * Thanks to Alexey Mahotkin, a bug that prevented CVS from being compiled with
137 Kerberos 4 authentication enabled has been fixed.
139 * A minor bug that caused CVS to fail to report an inifinte alias loop in the
140 modules file when portions of the alias definition contained trailing slashes
143 * A bug in the gzip code that could cause heap corruption and segfaults in CVS
144 servers talking to clients less than 1.8 and some modern third-party CVS
145 clients has been fixed.
147 * mktemp.sh is now included with the source distribution so that the rcs2log
148 and cvsbug executables may be run on systems which do not contain an
149 implementation of mktemp.
151 * Misc documentation fixes.
153 Changes from 1.11.10 to 1.11.11:
154 ********************************
156 SERVER SECURITY ISSUES
158 * pserver can no longer be configured to run as root via the
159 $CVSROOT/CVSROOT/passwd file, so if your passwd file is compromised, it no
160 longer leads directly to a root hack. Attempts to root will also be logged
163 Changes from 1.11.9 to 1.11.10:
164 *******************************
166 SERVER SECURITY ISSUES
168 * Malformed module requests could cause the CVS server to attempt to create
169 directories and possibly files at the root of the filesystem holding the CVS
170 repository. Filesystem permissions usually prevent the creation of these
171 misplaced directories, but nevertheless, the CVS server now rejects the
176 * Case insensitive clients using a case sensitive server can now use a
177 `cvs rm -f file; cvs add FILE' command sequence to add a file with the same
180 * CVSROOTs which contain a symlink to a real repository should work.
182 * The configure script now tests whether it is building CVS on a case
183 insensitive file system. If it is, CVS assumes that all file systems on this
184 platform will be case insensitive. This is useful for getting the case
185 insensitivity flag set correctly when compiling on Mac OS X and under Cygwin
186 on Windows. Autodetection can be overridden using the
187 --disable-case-sensitivity and --enable-case-sensitivity arguments to
190 * A behavior change in `cvs up -jrev1 -jrev2' for modified files with a base
191 revision of rev2 (ie, checked-out version matches rev2 and file has been
192 modified). The operation is no longer ignored and instead is passed to
193 diff3. This will potentially re-apply the diffs between the two revisions to
194 a modified local file. Status messages like from a standard merge have also
195 been added when the file would not or does not change due to this merge
196 request ("[file] already contains the changes between [revisions]...").
198 * A bug which could stop `cvs admin -mTAG:message' from recursing has been
201 * Misc documentation cleanup and fixes.
203 * Some of the contrib scripts, some of the documentation, and sanity.sh were
204 modified to use and recommend more portable commands rather than using and
205 recommending commands which were not compatible with the POSIX 1003.1-2001
210 * A new set of tests to test issues specific to case insensitive clients and
211 servers has also been added.
213 * Support has been added to the test suite to support testing over a :ext: link
214 to another machine, subject to some stringent requirements. This support can
215 be used, for instance, to test the operation of a case insensitive client
216 against a case sensitive server. Please see the comments in TEST and the
217 src/sanity.sh test script itself for more.
219 * We've standardized on Automake 1.7.9 to get a bug fix. See the note below
220 on the Autoconf upgrade for more details.
222 * We've standardized on Autoconf version 2.58 to avoid a bug and get at a few
223 new macros. Again, this should only really affect developers, though it is
224 possible that CVS will now compile on a few new platforms. Please see the
225 section of the INSTALL file about using the autotools if you are compiling
228 Changes from 1.11.8 to 1.11.9:
230 * CVS now knows how to report, as well as record, `P' record types.
232 * When running the `cvs history' command, clients will now send the
233 long-accepted `-e' option, for all records, rather than explicitly requesting
234 `P' record types, a request which servers prior to 1.11.7 will reject with a
237 * A problem with locating files requested by case insensitive clients which was
238 accidentally introduced in 1.11.6 as part of a fix for a data loss problem
239 involving `cvs add's from case insensitive clients has been fixed. The
240 relevant error message was `cvs [<command> aborted]: filE,v is ambiguous;
241 could mean FILE,v or file,v'.
243 * Attempts to use the global `-l' option, removed from both client and server
244 as of version 1.11.6, will now elicit a warning rather than a fatal error
247 Changes from 1.11.7 to 1.11.8:
249 * A problem in the CVS getpass library that could cause passwords to echo on
250 some systems has been fixed.
252 Changes from 1.11.6 to 1.11.7:
254 * A segfault that could occur in very rare cases where the stat of a file
255 failed during a diff has been fixed.
257 * Any user with write privleges to the CVSROOT/checkoutlist file could pass
258 arbitrary format strings directly through to a printf function. This was
259 probably bad and has been fixed. White space at the beginning of error strings
260 in checkoutlist is now ignored properly.
262 * In client/server mode, most messages from CVS now contain the actual
263 command name rather than the generic "server".
265 * A long-standing bug that prevented most client/server updates from being
266 logged in the history file has been fixed.
268 * Updates done via a patch ("P" status) are now logged in the history file
269 by default and the corresponding "P" history record type is now documented.
270 If you're setting the LogHistory option in your CVSROOT/config file, you may
271 want to add "P" to the list of record types.
273 * CVS now will always compile and its own getpass() function (originally from
274 GNULIB) in favor of any system one that may exist. This avoids some problems
275 with long passwords on some systems and updates us to POSIX.2 compliance, since
276 getpass() was removed from the POSIX.2 specification.
278 * A bug that allowed a write lock to be created in a directory despite
279 there being existing read locks when using LockDir in CVSROOT/config has
282 * A bug with short patches (`rdiff -s') which caused rdiff to sometimes report
283 differences that did not exist has been fixed.
285 * Some minor corrections were made to the diff code to keep diff & rdiff from
286 printing diff headers with empty change texts when two files have different
287 revision numbers but the same content.
289 * The global '-l' option, which suppressed history logging, has been removed
290 from both client and server.
292 Changes from 1.11.5 to 1.11.6:
294 * A warning message is now issued if an administrative file contains
295 more than one DEFAULT entry.
297 * An error running a verifymsg script (such as referencing an unset user
298 variable or the script not existing) now causes the verification to
301 * Errors in administrative files commands (like unset user variables)
302 are no longer reported unless the command is actually executed.
304 * When a file is initially checked out, its last access time is now set
305 to the current time rather than being set to the time the file was last
306 checked in like the modification time is.
308 * The Checkin.prog and Update.prog functionality has been removed. This
309 fuctionality previously allowed executables to be specified in the modules file
310 to be run at update and checkin time, but users could edit these files on a per
311 workspace basis, creating a security hole.
313 * contrib/rcs2log and src/cvsbug now use the BSD mktemp program to create
314 their temp files and directories on systems which provide it.
316 * Corrected the path in a failed write error message.
318 * Autoconf and Automake are no longer run automatically unless you run
319 configure with --enable-maintainer-mode. Accordingly, noautomake.sh is
320 no longer needed and has been removed.
322 * We've standardized on Automake version 1.7.5 and Autoconf version 2.57 to get
323 at a few new macros. Again, this should only really affect developers. See
324 the section of the INSTALL file about using the autotools if you are compiling
327 Changes from 1.11.4 to 1.11.5:
329 * Fixed a security hole in the CVS server by which users with read only access
330 could gain write access. This issue does not affect client builds. The
331 Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the
332 name CAN-2003-0015 to this issue. See
333 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0015> for more
336 * Fixed some bugs where revision numbers starting with 0 (like 0.3)
337 weren't correctly handled. (CVS doesn't normally use such revision
338 numbers, but users may be able to force it to do so and old RCS files
341 Changes from 1.11.3 to 1.11.4:
343 * Some minor changes to allow the code to compile on Windows platforms.
345 Changes from 1.11.2 to 1.11.3:
347 * The tag/rtag code has been fixed to once again lock just a single
350 * There was a bug where certain error conditions could cause the server
351 to go into an infinite loop. There was also a bug that caused a
352 compressed connection from an older client to hang on shutdown. These
353 bugs have been fixed.
355 * Fixed a bug that caused the server to reject most watch commands.
357 * When waiting for another user's lock, the message timestamps are now
358 in UTC rather than the server's local time.
360 * The options.h file is no longer used. This fixes a bug that occurred when
361 1.11.2 was compiled on Windows platforms.
363 * We've standardized on Automake version 1.6.3 and Autoconf version 2.53.
364 They are cleaner, less bug prone, and will hopfully allow me to start updating
365 sanity.sh to use Autotest and Autoshell. Again, this should only really affect
366 developers. See the section of the INSTALL file about using the autotools if
367 you are compiling CVS yourself.
369 * Fixed a bug in the log/rlog code when a revision range crosses a
372 * Fixed a bug where filenames starting with - would be misinterpreted as
373 options when using client/server mode.
375 Changes from 1.11.1p1 to 1.11.2:
377 * There is a new feature, enabled by RereadLogAfterVerify in CVSROOT/config,
378 which tells CVS to reread the log message after running the verifymsg
379 script. This allows the verifymsg script to reformat or otherwise
380 modify the log message.
382 * The interpretation of revision ranges using :: in "log" and "rlog"
383 has changed: a::b now excludes the log message from revision a but
384 includes the log message from revision b. Also, revision ranges that
385 cross branch points should now work.
387 * zlib has been updated to version 1.4. There is a security advisory
388 out in regards to 1.3. This should fix that problem.
390 * The "log" and "rlog" commands now have a -S option to suppress the
391 header information when no revisions are selected.
393 * A serious error that allowed read-only users to tag files has been
396 * The "annotate" command will no longer annotate binary files unless
397 you specify the new -F option.
399 * The "tag" and "rtag" commands will no longer move or delete branch
400 tags unless you use the new -B option. (This prevents accidental
401 changes to branch tags that are hard to undo.)
403 * We've standardized on the 1.5 Automake release for the moment. Again, this
404 should only really affect developers. See the section of the INSTALL file
405 about using the autotools if you are compiling CVS yourself.
407 Changes from 1.11.1 to 1.11.1p1:
409 * Read only access was broken - now fixed.
411 Changes from 1.11 to 1.11.1:
413 * There was a locking bug in the tag/rtag code that could lose changes
414 made to a file while the tag operation was in progress. This has been
415 fixed, but all of the directories being tagged are now locked for the
416 entire duration of the tag operation rather than only one directory at a
419 * The "cvs diff" command now accepts the -y/--side=by-side and -T/
420 --initial-tab options. (To use these options with a remote repository,
421 both the client and the server must support them.)
423 * The expansion of the loginfo format string has changed slightly.
424 Previously, the expansion was surrounded by single quotes ('); if a file
425 name contained a single quote character, the string would not be parsed
426 as a single entity by the Unix shell (and it would not be possible to
427 parse it unambiguously). Now the expansion is surrounded by double
428 quotes (") and any embedded dollar signs ($), backticks (`), backslashes
429 (\), and double quotes are preceded by a backslash. This is parsed as a
430 single entity by the shell reguardless of content. This change should
431 not be noticable unless you're not using a Unix shell or you have
432 embedded the format string inside a double quoted string.
434 * There was a bug in the diff code which sometimes caused conflicts to
435 be flagged which shouldn't have been. This has been fixed.
437 * New "cvs rlog" and "cvs rannotate" commands have been added to get log
438 messages and annotations without having to have a checked-out copy.
440 * Exclusive revision ranges have been added to "cvs log" using ::
441 (similar to "cvs admin -o").
443 * The VMS client now accepts wildcards if you're running VMS 7.x.
445 * ZLIB has been updated to version 1.1.3, the most current version. This
446 includes mostly some optimizations and minor bug fixes.
448 * The ~/.cvspass file has a slightly modified format. CVSROOTs are now
449 stored in a new canonical form - hostnames are now case insensitive and
450 port numbers are always stored in the new format. Until a new login for
451 a particular CVSROOT is performed with the new version of CVS, new and
452 old versions of CVS should interoperate invisibly. After that point, an
453 extra login using the old version of CVS may be necessary to continue to
454 allow the new and old versions of CVS to interoperate using the same
455 ~/.cvspass file and CVSROOT. The exception to this rule occurs when the
456 CVSROOTs used with the different versions use case insensitively
457 different hostnames, for example, "empress", and "empress.2-wit.com".
459 * A password and a port number may now be specified in CVSROOT for
460 pserver connections. The new format is:
462 :pserver:[[user][:password]@]host[:[port]]/path
464 Note that passwords specified in a checkout command will be saved in the
465 clear in the CVS/Root file in each created directory, so this is not
466 recommended, except perhaps when accessing anonymous repositories or the
469 * The distribution has been converted to use Automake. This shouldn't
470 affect most users except to ease some portability concerns, but if you
471 are building from the repository and encounter problems with the
472 makefiles, you might try running ./noautomake.sh after a fresh update
475 Changes from 1.10 to 1.11:
477 * The "cvs update" command has a new -C option to get clean copies from
478 the repository, abandoning any local changes.
480 * The new "cvs version" command gives a short version message. If
481 the repository is remote, both the client and server versions are
484 * "cvs admin -t" now works correctly in client/server mode.
486 * The "cvs history" command output format has changed -- the date
487 now includes the year and is given is ISO 8601 format (yyyy-mm-dd).
488 Also, the new LogHistory option in CVSROOT/config can be used to
489 control what information gets recorded in the log file and code has
490 been added to record file removals.
492 * The buggy PreservePermissions code has been disabled.
494 * Anonymous read-only access can now be done without requiring a
495 password. On the server side, simply give that user (presumably
496 `anonymous') an empty password in the CVSROOT/passwd file, and then
497 any received password will authenticate successfully.
499 * There is a new access method :fork: which is similar to :local:
500 except that it is implemented via the CVS remote protocol, and thus
501 has a somewhat different set of quirks and bugs.
503 * The -d command line option no longer updates the CVS/Root file. For
504 one thing, the CVS 1.9/1.10 behavior never had updated CVS/Root in
505 subdirectories, and for another, it didn't seem that popular in
506 general. So this change restores the CVS 1.8 behavior (which is also
507 the CVS 1.9/1.10 behavior if the environment variable
508 CVS_IGNORE_REMOTE_ROOT is set; with this change,
509 CVS_IGNORE_REMOTE_ROOT no longer has any effect).
511 * It is now possible for a single CVS command to recurse into several
512 CVS roots. This includes roots which are located on several servers,
513 or which are both remote and local. CVS will make connections to as
514 many servers as necessary.
516 * It is now possible to put the CVS lock files in a directory
517 set by the new LockDir option in CVSROOT/config. The default
518 continues to be to put the lock files in the repository itself.
520 Changes from 1.9 to 1.10:
522 * A bug was discovered in the -t/-f wrapper support that can cause
523 serious data loss. Because of this (and also the fact that it doesn't
524 work at all in client/server mode), the -t/-f wrapper code has been
525 disabled until it can be fixed.
527 * There is a new feature, enabled by TopLevelAdmin in CVSROOT/config,
528 which tells CVS to modify the behavior of the "checkout" command. The
529 command now creates a CVS directory at the top level of the new
530 working directory, in addition to CVS directories created within
531 checked-out directories. See the Cederqvist for details.
533 * There is an optional set of features, enabled by PreservePermissions
534 in CVSROOT/config, which allow CVS to store unix-specific file
535 information such as permissions, file ownership, and links. See the
536 Cederqvist for details.
538 * One can now authenticate and encrypt using the GSSAPI network
539 security interface. For details see the Cederqvist's description of
540 specifying :gserver: in CVSROOT, and the -a global option.
542 * All access to RCS files is now implemented internally rather than by
543 calling RCS programs. The main user-visible consequence of this is
544 that there is no need to worry about making sure that CVS finds the
545 correct version of RCS. The -b global option and the RCSBIN setting
546 in CVSROOT/config are still accepted but don't do anything. The
547 $RCSBIN internal variable in administrative files is no longer
550 * There is a new syntax, "cvs admin -orev1::rev2", which collapses the
551 revisions between rev1 and rev2 without deleting rev1 or rev2
554 * There is a new administrative file CVSROOT/config which allows one
555 to specify miscellaneous aspects of CVS configuration. Currently
558 - SystemAuth, allows you to prevent pserver from checking for system
561 For more information see the "config" section of cvs.texinfo.
563 * When setting up the pserver server, one now must specify the
564 allowable CVSROOT directories in inetd.conf. See the Password
565 authentication server section of cvs.texinfo for details. Note that
566 this implies that everyone who is running a pserver server must edit
567 inetd.conf when upgrading their CVS.
569 * The client no longer needs an external patch program (assuming both
570 the client and the server have been updated to the new version).
572 * "cvs admin [options]" will now recurse. In previous versions of
573 CVS, it was an error and one needed to specify "cvs admin [options] ."
574 to recurse. This change brings admin in line with the other CVS
577 * New "logout" command to remove the password for a remote cvs
578 repository from the cvspass file.
580 * Read-only repository access is implemented for the
581 password-authenticated server (other access methods are just governed
582 by Unix file permissions, since they require login access to the
583 repository machine anyway). See the "Repository" section of
584 cvs.texinfo for details, including a discussion of security issues.
585 Note that the requirement that read-only users be able to create locks
586 and write the history file still applies.
588 * There is a new administrative file verifymsg which is like editinfo
589 but merely validates the message, rather than also getting it from the
590 user. It therefore works with client/server CVS or if one uses the -m
591 or -F options to commit. See the verifymsg section of cvs.texinfo for
594 * The %s format formerly accepted in loginfo has been extended to
595 formats such as %{sVv}, so that loginfo scripts have access to the
596 version numbers being changed. See the Loginfo section of cvs.texinfo
599 * The postscript documentation (doc/cvs.ps) shipped with CVS is now
600 formatted for US letter size instead of A4. This is not because we
601 consider this size "better" than A4, but because we believe that the
602 US letter version will print better on A4 paper than the other way
605 * The "cvs export" command is now logged in the history file and there
606 is a "cvs history -x E" command to select history file entries
609 * CVS no longer uses the CVS_PASSWORD environment variable. Storing
610 passwords in cleartext in an environment variable is a security risk,
611 especially since (on BSD variants) any user on the system can display
612 any process's environment using 'ps'. Users should use the 'cvs
613 login' command instead.
616 Changes from 1.8 to 1.9:
618 * Windows NT client should now work on Windows 95 as well.
620 * New option "--help-synonyms" prints a list of all recognized command
623 * The "log" command is now implemented internally rather than via the
624 RCS "rlog" program. The main user-visible consequence is that
625 symbolic branch names now work (for example "cvs log -rbranch1").
626 Also, the date formats accepted by -d have changed. They previously
627 had been a bewildering variety of poorly-documented date formats. Now
628 they are the same as the date formats accepted by the -D options to
629 the other CVS commands, which is also a (different) bewildering
630 variety of poorly-documented date formats, but at least we are
631 consistently bewildering :-).
633 * Encryption is now supported over a Kerberos client/server
634 connection. The new "-x" global option requests it. You must
635 configure with the --enable-encryption option in order to enable
638 * The format of the CVS commit message has changed slightly when
639 committing changes on a branch. The tag on which the commit is
640 ocurring is now reported correctly in all cases.
642 * New flag -k in wrappers allows you to specify the keyword expansion
643 mode for added files based on their name. For example, you can
644 specify that files whose name matches *.exe are binary by default.
645 See the Wrappers section of cvs.texinfo for more details.
647 * Remote CVS with the "-z" option now uses the zlib library (included
648 with CVS) to compress all communication between the client and the
649 server, rather than invoking gzip on each file separately. This means
650 that compression is better and there is no need for an external gzip
651 program (except to interoperate with older version of CVS).
653 * The "cvs rlog" command is deprecated and running it will print a
654 warning; use the synonymous "cvs log" command instead. It is
655 confusing for rlog to mean the same as log because some other CVS
656 commands are in pairs consisting of a plain command which operates on
657 a working directory and an "r" command which does not (diff/rdiff;
660 * "cvs diff" has a bunch of new options, mostly long options. Most of
661 these work only if rcsdiff and diff support them, and are named the
662 same as the corresponding options to diff.
664 * The -q and -Q command options to "cvs diff" were removed (use the
665 global options instead). This brings "cvs diff" into line with the
666 rest of the CVS commands.
668 * The "annotate" command can now be used to annotate a revision other
669 than the head revision on the trunk (see the -r, -D, and -f options in
670 the annotate node of cvs.texinfo for details).
672 * The "tag" command has a new option "-c" which checks that all files
673 are not locally modified before tagging.
675 * The -d command line option now overrides the cvsroot setting stored
676 in the CVS/Root file in each working directory, and specifying -d will
677 cause CVS/Root to be updated.
679 * Local (non-client/server) CVS now runs on Windows NT. See
680 windows-NT/README for details.
682 * The CVSROOT variable specification has changed to support more
683 access methods. In addition to "pserver," "server" (internal rsh
684 client), "ext" (external rsh client), "kserver" (kerberos), and
685 "local" (local filesystem access) can now be specified. For more
686 details on each method, see cvs.texinfo (there is an index entry for
687 :local: and each of the other access methods).
689 * The "login" command no longer prompts the user for username and
690 hostname, since one will have to provide that information via the `-d'
691 flag or by setting CVSROOT.
693 Changes from 1.7 to 1.8:
695 * New "cvs annotate" command to display the last modification for each
696 line of a file, with the revision number, user checking in the
697 modification, and date of the modification. For more information see
698 the `annotate' node in cvs.texinfo.
700 * The cvsinit shell script has been replaced by a cvs init command.
701 The cvs init command creates some example administrative files which
702 are similar to the files found in the examples directory (and copied
703 by cvsinit) in previous releases.
705 * Added the patterns *.olb *.exe _$* *$ to default ignore list.
707 * There is now a $USER internal variable for *info files.
709 * There is no longer a separate `mkmodules' program; the functionality
710 is now built into `cvs'. If upgrading an old repository, it is OK to
711 leave in the lines in the modules file which run mkmodules (the
712 mkmodules actions will get done twice, but that is harmless); you will
713 probably want to remove them once you are no longer using the old CVS.
715 * One can now specify user variables in *info files via the
716 ${=varname} syntax; there is a -s global option to set them. See the
717 Variables node in cvs.texinfo for details.
719 Changes from 1.6 to 1.7:
721 * The default ignore list has changed slightly: *.obj has been added
722 and CVS* has been changed to CVS CVS.adm.
724 * CVS now supports password authentication when accessing remote
725 repositories; this is useful for sites that can't use rsh (because of
726 a firewall, for example), and also don't have kerberos. See node
727 "Password authenticated" (in "Remote repositories", in
728 doc/cvs.texinfo) for more details. Note: This feature requires both
729 the client and server to be upgraded.
731 * Using the -kb option to specify binary files now works--most cases
732 did not work before. See the "Binary files" section of
733 doc/cvs.texinfo for details.
735 * New developer communication features. See the "Watches" section of
736 doc/cvs.texinfo for details.
738 * RCS keyword "Name" supported for "cvs update -r <tag>" and "cvs
741 * If there is a group whose name matches a compiled in value which
742 defaults to "cvsadmin", only members of that group can use "cvs
743 admin". This replaces the CVS_NOADMIN option.
745 * CVS now sets the modes of files in the repository based on the
746 CVSUMASK environment variable or a compiled in value defaulting to
747 002. This way other developers will be able to access the files in
748 the repository regardless of the umask of the developer creating them.
750 * The command names in .cvsrc now match the official name of the
751 command, not the one (possibly an alias) by which it was invoked. If
752 you had previously relied on "cvs di" and "cvs diff" using different
753 options, instead use a shell function or alias (for example "alias
754 cvsdi='cvs diff -u'"). You also can specify global CVS options (like
755 "-z") using the command name "cvs".
757 Changes from 1.5 to 1.6:
759 * Del updated the man page to include all of the new features
762 * "cvs tag" now supports a "-r | -D" option for tagging an already
763 tagged revision / specific revision of a file.
765 * There is a "taginfo" file in CVSROOT that supports filtering and
766 recording of tag operations.
768 * Long options support added, including --help and --version options.
770 * "cvs release" no longer cares whether or not the directory being
771 released has an entry in the `modules' file.
773 * The modules file now takes a -e option which is used instead of -o
774 for "cvs export". If your modules file has a -o option which you want
775 to be used for "cvs export", change it to specify -e as well as -o.
777 * "cvs export" now takes a -k option to set RCS keyword expansion.
778 This way you can export binary files. If you want the old behavior,
779 you need to specify -kv.
781 * "cvs update", "cvs rdiff", "cvs checkout", "cvs import", "cvs
782 release", "cvs rtag", and "cvs tag" used to take -q and -Q options
783 after the command name (e.g. "cvs update -q"). This was confusing
784 because other commands, such as "cvs ci", did not. So the options
785 after the command name have been removed and you must now specify, for
786 example, "cvs -q update", which has been supported since CVS 1.3.
788 * New "wrappers" feature. This allows you to set a hook which
789 transforms files on their way in and out of cvs (apparently on the
790 NeXT there is some particular usefulness in tarring things up in the
791 repository). It also allows you to declare files as merge-by-copy
792 which means that instead of trying to merge the file, CVS will merely
793 copy the new version. There is a CVSROOT/cvswrappers file and an
794 optionsl ~/.cvswrappers file to support this feature.
796 * You can set CVSROOT to user@host:dir, not just host:dir, if your
797 username on the server host is different than on the client host.
799 * VISUAL is accepted as well as EDITOR.
801 * $CVSROOT is expanded in *info files.
803 Changes from 1.4A2 to 1.5:
805 * Remote implementation. This is very helpful when collaborating on a
806 project with someone across a wide-area network. This release can
807 also be used locally, like other CVS versions, if you have no need for
810 Here are some of the features of the remote implementation:
811 - It uses reliable transport protocols (TCP/IP) for remote repository
812 access, not NFS. NFS is unusable over long distances (and sometimes
813 over short distances)
814 - It transfers only those files that have changed in the repository or
815 the working directory. To save transmission time, it will transfer
816 patches when appropriate, and can compress data for transmission.
817 - The server never holds CVS locks while waiting for a reply from the client;
818 this makes the system robust when used over flaky networks.
820 The remote features are documented in doc/cvsclient.texi in the CVS
821 distribution, but the main doc file, cvs.texinfo, has not yet been
822 updated to include the remote features.
824 * Death support. See src/README-rm-add for more information on this.
826 * Many speedups, especially from jtc@cygnus.com.
828 * CVS 1.2 compatibility code has been removed as a speedup. If you
829 have working directories checked out by CVS 1.2, CVS 1.3 or 1.4A2 will
830 try to convert them, but CVS 1.5 and later will not (if the working
831 directory is up to date and contains no extraneous files, you can just
832 remove it, and then check out a new working directory). Likewise if
833 your repository contains a CVSROOT.adm directory instead of a CVSROOT
834 directory, you need to rename it.
836 Fri Oct 21 20:58:54 1994 Brian Berliner <berliner@sun.com>
838 * Changes between CVS 1.3 and CVS 1.4 Alpha-2
840 * A new program, "cvsbug", is provided to let you send bug reports
841 directly to the CVS maintainers. Please use it instead of sending
842 mail to the info-cvs mailing list. If your build fails, you may
843 have to invoke "cvsbug" directly from the "src" directory as
846 * A new User's Guide and Tutorial, written by Per Cederqvist
847 <ceder@signum.se> of Signum Support. See the "doc" directory. A
848 PostScript version is included as "doc/cvs.ps".
850 * The Frequesntly Asked Questions file, FAQ, has been added to the
851 release. Unfortunately, its contents are likely out-of-date.
853 * The "cvsinit" shell script is now installed in the $prefix/bin
854 directory like the other programs. You can now create new
855 CVS repositories with great ease.
857 * Index: lines are now printed on output from 'diff' and 'rdiff',
858 in order to facilitate application of patches to multiple subdirs.
860 * Support for a ~/.cvsrc file, which allows you to specify options
861 that are always supposed to be given to a specific command. This
862 feature shows the non-orthogonality of the option set, since while
863 there may be an option to turn something on, the option to turn
864 that same thing off may not exist.
866 * You can now list subdirectories that you wish to ignore in a
867 modules listing, such as:
869 gcc -a gnu/gcc, !gnu/gcc/testsuites
871 which will check out everything underneath gnu/gcc, except
872 everything underneath gnu/gcc/testsuites.
874 * It is now much harder to accidentally overwrite an existing tag
875 name, since attempting to move a tag name will result in a error,
876 unless the -F (force) flag is given to the tag subcommands.
878 * Better error checking on matching of the repository used to
879 check code out from against the repository the current cvs
880 commnands would use. (Thanks to Mark Baushke <mdb@cisco.com>)
882 * Better support for sites with multiple CVSROOT repositories has
883 been contributed. The file "CVS/Root" in your working directory
884 is created to hold the full path to the CVS repository and a
885 simple check is made against your current CVSROOT setting.
887 * You can now specify an RCS keyword substitution value when you
888 import files into the repository.
890 * Uses a much newer version of Autoconf, and conforms to the GNU
891 coding standards much more closely. No, it still doesn't have
894 * Code cleanup. Many passes through gcc -Wall helped to identify
895 a number of questionable constructs. Most arbitrary length limits
898 * Profiling to determine bottlenecks helped to identify the best
899 places to spend time speeding up the code, which was then done. A
900 number of performance enhancements in filename matching have sped
903 * Many more contributions have been added to the "contrib"
904 directory. See the README file in that directory for more
907 * "cvs commit" will try harder to not change the file's
908 modification time after the commit. If the file does not change
909 as a result of the commit operation, CVS will preserve the
910 original modification time, thus speeding up future make-type
913 * "cvs commit" now includes any removed files in the (optional)
914 pre-commit checking program that may be invoked. Previously, only
915 added and modified files were included.
917 * It is now possible to commit a file directly onto the trunk at a
918 specific revision level by doing "cvs commit -r3.0 file.c", where
919 "3.0" specifies the revision you wish to create. The file must be
920 up-to-date with the current head of the trunk for this to succeed.
922 * "cvs commit" will now function with a pre-commit program that
923 has arguments specified in the "commitinfo" file.
925 * The "mkmodules" program will now look within the
926 $CVSROOT/CVSROOT/checkoutlist" file for any additional files that
927 should be automatically checked out within CVSROOT; mkmodules also
928 tries harder to preserve any execute bits the files may have
931 * "cvs diff" is much more accurate about its exit status now. It
932 now returns the maximum exit status of any invoked diff.
934 * The "-I !" option is now supported for the import and update
935 commands correctly. It will properly clear the ignore list now.
937 * Some problems with "cvs import" handling of .cvsignore have been
938 fixed; as well, some rampant recursion problems with import have
941 * "cvs rdiff" (aka "cvs patch") now tries to set the modify time
942 of any temporary files it uses to match those specified for the
943 particular revision. This allows a more accurate patch image to
946 * "cvs status" has improved revision descriptions. "Working
947 revision" is used for the revision of the working file that you
948 edit directly; "Repository revision" is the revision of the file
949 with the $CVSROOT source repository. Also, the output is clearer
950 with regard to sticky and branch revisions.
952 * CVS no longer dumps core when given a mixture of directories and
953 files in sub-directories (as in "cvs ci file1 dir1/file2").
954 Instead, arguments are now clumped into their respective directory
955 and operated on in chunks, together.
957 * If the CVSEDITOR environment variable is set, that editor is
958 used for log messages instead of the EDITOR environment variable.
959 This makes it easy to substitute intelligent programs to make more
960 elaborate log messages. Contributed by Mark D Baushke
963 * Command argument changes:
964 cvs: The "-f" option has been added to ignore
966 commit: Renamed the "-f logfile" option to the
967 "-F logfile" option. Added the "-f"
968 option to force a commit of the specified
969 files (this disables recursion).
970 history: Added "-t timezone" option to force any
971 date-specific output into the specified
973 import: Added "-d" option to use the file's
974 modification time as the time of the
975 import. Added "-k sub" option to set the
976 default RCS keyword substitution mode for
978 remove: Added "-f" option to force the file's
979 automatic removal if it still exists in
980 the working directory (use with caution).
981 rtag: Added "-F" option to move the tag if it
982 already exists -- new default is to NOT
983 move tags automatically.
984 tag: Added "-F" option to move the tag if it
985 already exists -- new default is to NOT
986 move tags automatically.
988 Tue Apr 7 15:55:25 1992 Brian Berliner (berliner at sun.com)
990 * Changes between CVS 1.3 Beta-3 and official CVS 1.3!
992 * A new shell script is provided, "./cvsinit", which can be run at
993 install time to help setup your $CVSROOT area. This can greatly
994 ease your entry into CVS usage.
996 * The INSTALL file has been updated to include the machines on
997 which CVS has compiled successfully. I think CVS 1.3 is finally
998 portable. Thanks to all the Beta testers!
1000 * Support for the "editinfo" file was contributed. This file
1001 (located in $CVSROOT/CVSROOT) can be used to specify a special
1002 "editor" to run on a per-directory basis within the repository,
1003 instead of the usual user's editor. As such, it can verify that
1004 the log message entered by the user is of the appropriate form
1005 (contains a bugid and test validation, for example).
1007 * The manual pages cvs(1) and cvs(5) have been updated.
1009 * The "mkmodules" command now informs you when your modules file
1010 has duplicate entries.
1012 * The "add" command now preserves any per-directory sticky tag when
1013 you add a new directory to your checked-out sources.
1015 * The "admin" command is now a fully recursive interface to the
1016 "rcs" program which operates on your checked-out sources. It no
1017 longer requires you to specify the full path to the RCS file.
1019 * The per-file sticky tags can now be effectively removed with
1020 "cvs update -A file", even if you had checked out the whole
1021 directory with a per-directory sticky tag. This allows a great
1022 deal of flexibility in managing the revisions that your checked-out
1023 sources are based upon (both per-directory and per-file sticky
1026 * The "cvs -n commit" command now works, to show which files are
1027 out-of-date and will cause the real commit to fail, or which files
1028 will fail any pre-commit checks. Also, the "cvs -n import ..."
1029 command will now show you what it would've done without actually
1032 * Doing "cvs commit modules" to checkin the modules file will no
1033 properly run the "mkmodules" program (assuming you have setup your
1034 $CVSROOT/CVSROOT/modules file to do so).
1036 * The -t option in the modules file (which specifies a program to
1037 run when you do a "cvs rtag" operation on a module) now gets the
1038 symbolic tag as the second argument when invoked.
1040 * When the source repository is locked by another user, that user's
1041 login name will be displayed as the holder of the lock.
1043 * Doing "cvs checkout module/file.c" now works even if
1044 module/file.c is in the Attic (has been removed from main-line
1047 * Doing "cvs commit */Makefile" now works as one would expect.
1048 Rather than trying to commit everything recursively, it will now
1049 commit just the files specified.
1051 * The "cvs remove" command is now fully recursive. To schedule a
1052 file for removal, all you have to do is "rm file" and "cvs rm".
1053 With no arguments, "cvs rm" will schedule all files that have been
1054 physically removed for removal from the source repository at the
1057 * The "cvs tag" command now prints "T file" for each file that was
1058 tagged by this invocation and "D file" for each file that had the
1059 tag removed (as with "cvs tag -d").
1061 * The -a option has been added to "cvs rtag" to force it to clean
1062 up any old, matching tags for files that have been removed (in the
1063 Attic) that may not have been touched by this tag operation. This
1064 can help keep a consistent view with your tag, even if you re-use
1067 Sat Feb 29 16:02:05 1992 Brian Berliner (berliner at sun.com)
1069 * Changes between CVS 1.3 Beta-2 and CVS 1.3 Beta-3
1071 * Many portability fixes, thanks to all the Beta testers! With any
1072 luck, this Beta release will compile correctly on most anything.
1073 Hey, what are we without our dreams.
1075 * CVS finally has support for doing isolated development on a
1076 branch off the current (or previous!) revisions. This is also
1077 extremely nice for generating patches for previously released
1078 software while development is progressing on the next release.
1079 Here's an example of creating a branch to fix a patch with the 2.0
1080 version of the "foo" module, even though we are already well into
1081 the 3.0 release. Do:
1083 % cvs rtag -b -rFOO_2_0 FOO_2_0_Patch foo
1084 % cvs checkout -rFOO_2_0_Patch foo
1089 A physical branch will be created in the RCS file only when you
1090 actually commit the change. As such, forking development at some
1091 random point in time is extremely light-weight -- requiring just a
1092 symbolic tag in each file until a commit is done. To fork
1093 development at the currently checked out sources, do:
1095 % cvs tag -b Personal_Hack
1096 % cvs update -rPersonal_Hack
1100 Now, if you decide you want the changes made in the Personal_Hack
1101 branch to be merged in with other changes made in the main-line
1102 development, you could do:
1104 % cvs commit # to make Personal_Hack complete
1105 % cvs update -A # to update sources to main-line
1106 % cvs update -jPersonal_Hack # to merge Personal_Hack
1108 to update your checked-out sources, or:
1110 % cvs checkout -jPersonal_Hack module
1112 to checkout a fresh copy.
1114 To support this notion of forked development, CVS reserves
1115 all even-numbered branches for its own use. In addition, CVS
1116 reserves the ".0" and ".1" branches. So, if you intend to do your
1117 own branches by hand with RCS, you should use odd-numbered branches
1118 starting with ".3", as in "1.1.3", "1.1.5", 1.2.9", ....
1120 * The "cvs commit" command now supports a fully functional -r
1121 option, allowing you to commit your changes to a specific numeric
1122 revision or symbolic tag with full consistency checks. Numeric
1123 tags are useful for bringing your sources all up to some revision
1128 For symbolic tags, you can only commit to a tag that references a
1129 branch in the RCS file. One created by "cvs rtag -b" or from
1130 "cvs tag -b" is appropriate (see below).
1132 * Roland Pesch <pesch@cygnus.com> and K. Richard Pixley
1133 <rich@cygnus.com> were kind enough to contribute two new manual
1134 pages for CVS: cvs(1) and cvs(5). Most of the new CVS 1.3 features
1135 are now documented, with the exception of the new branch support
1136 added to commit/rtag/tag/checkout/update.
1138 * The -j options of checkout/update have been added. The "cvs join"
1139 command has been removed.
1141 With one -j option, CVS will merge the changes made between the
1142 resulting revision and the revision that it is based on (e.g., if
1143 the tag refers to a branch, CVS will merge all changes made in
1144 that branch into your working file).
1146 With two -j options, CVS will merge in the changes between the two
1147 respective revisions. This can be used to "remove" a certain delta
1148 from your working file. E.g., If the file foo.c is based on
1149 revision 1.6 and I want to remove the changes made between 1.3 and
1152 % cvs update -j1.5 -j1.3 foo.c # note the order...
1154 In addition, each -j option can contain on optional date
1155 specification which, when used with branches, can limit the chosen
1156 revision to one within a specific date. An optional date is
1157 specified by adding a colon (:) to the tag, as in:
1159 -jSymbolic_Tag:Date_Specifier
1161 An example might be what "cvs import" tells you to do when you have
1162 just imported sources that have conflicts with local changes:
1164 % cvs checkout -jTAG:yesterday -jTAG module
1166 which tells CVS to merge in the changes made to the branch
1167 specified by TAG in the last 24 hours. If this is not what is
1168 intended, substitute "yesterday" for whatever format of date that
1169 is appropriate, like:
1171 % cvs checkout -jTAG:'1 week ago' -jTAG module
1173 * "cvs diff" now supports the special tags "BASE" and "HEAD". So,
1176 % cvs diff -u -rBASE -rHEAD
1178 will effectively show the changes made by others (in unidiff
1179 format) that will be merged into your working sources with your
1180 next "cvs update" command. "-rBASE" resolves to the revision that
1181 your working file is based on. "-rHEAD" resolves to the current
1182 head of the branch or trunk that you are working on.
1184 * The -P option of "cvs checkout" now means to Prune empty
1185 directories, as with "update". The default is to not remove empty
1186 directories. However, if you do "checkout" with any -r options, -P
1187 will be implied. I.e., checking out with a tag will cause empty
1188 directories to be pruned automatically.
1190 * The new file INSTALL describes how to install CVS, including
1191 detailed descriptions of interfaces to "configure".
1193 * The example loginfo file in examples/loginfo has been updated to
1194 use the perl script included in contrib/log.pl. The nice thing
1195 about this log program is that it records the revision numbers of
1196 your change in the log message.
1198 Example files for commitinfo and rcsinfo are now included in the
1201 * All "#if defined(__STDC__) && __STDC__ == 1" lines have been
1202 changed to be "#if __STDC__" to fix some problems with the former.
1204 * The lib/regex.[ch] files have been updated to the 1.3 release of
1205 the GNU regex package.
1207 * The ndbm emulation routines included with CVS 1.3 Beta-2 in the
1208 src/ndbm.[ch] files has been moved into the src/myndbm.[ch] files
1209 to avoid any conflict with the system <ndbm.h> header file. If
1210 you had a previous CVS 1.3 Beta release, you will want to "cvs
1211 remove ndbm.[ch]" form your copy of CVS as well.
1213 * "cvs add" and "cvs remove" are a bit more verbose, telling you
1214 what to do to add/remove your file permanently.
1216 * We no longer mess with /dev/tty in "commit" and "add".
1218 * More things are quiet with the -Q option set.
1220 * New src/config.h option: If CVS_BADROOT is set, CVS will not
1221 allow people really logged in as "root" to commit changes.
1223 * "cvs diff" exits with a status of 0 if there were no diffs, 1 if
1224 there were diffs, and 2 if there were errors.
1226 * "cvs -n diff" is now supported so that you can still run diffs
1227 even while in the middle of committing files.
1229 * Handling of the CVS/Entries file is now much more robust.
1231 * The default file ignore list now includes "*.so".
1233 * "cvs import" did not expand '@' in the log message correctly. It
1234 does now. Also, import now uses the ignore file facility
1237 Import will now tell you whether there were conflicts that need to
1238 be resolved, and how to resolve them.
1240 * "cvs log" has been changed so that you can "log" things that are
1241 not a part of the current release (in the Attic).
1243 * If you don't change the editor message on commit, CVS now prompts
1244 you with the choice:
1246 !)reuse this message unchanged for remaining dirs
1248 which allows you to tell CVS that you have no intention of changing
1249 the log message for the remainder of the commit.
1251 * It is no longer necessary to have CVSROOT set if you are using
1252 the -H option to get Usage information on the commands.
1254 * Command argument changes:
1255 checkout: -P handling changed as described above.
1256 New -j option (up to 2 can be specified)
1257 for doing rcsmerge kind of things on
1259 commit: -r option now supports committing to a
1260 numeric or symbolic tags, with some
1261 restrictions. Full consistency checks will
1263 Added "-f logfile" option, which tells
1264 commit to glean the log message from the
1265 specified file, rather than invoking the
1267 rtag: Added -b option to create a branch tag,
1268 useful for creating a patch for a previous
1269 release, or for forking development.
1270 tag: Added -b option to create a branch tag,
1271 useful for creating a patch for a previous
1272 release, or for forking development.
1273 update: New -j option (up to 2 can be specified)
1274 for doing rcsmerge kind of things on
1277 Thu Jan 9 10:51:35 MST 1992 Jeff Polk (polk at BSDI.COM)
1279 * Changes between CVS 1.3 Beta-1 and CVS 1.3 Beta-2
1281 * Thanks to K. Richard Pixley at Cygnus we now have function
1282 prototypes in all the files
1284 * Some small changes to configure for portability. There have
1285 been other portability problems submitted that have not been fixed
1286 (Brian will be working on those). Additionally all __STDC__
1287 tests have been modified to check __STDC__ against the constant 1
1288 (this is what the Second edition of K&R says must be true).
1290 * Lots of additional error checking for forked processes (run_exec)
1291 (thanks again to K. Richard Pixley)
1293 * Lots of miscellaneous bug fixes - including but certainly not
1295 various commit core dumps
1296 various update core dumps
1297 bogus results from status with numeric sticky tags
1298 commitprog used freed memory
1299 Entries file corruption caused by No_Difference
1300 commit to revision broken (now works if branch exists)
1301 ignore file processing broken for * and !
1302 ignore processing didn't handle memory reasonably
1303 miscellaneous bugs in the recursion processor
1304 file descriptor leak in ParseInfo
1305 CVSROOT.adm->CVSROOT rename bug
1308 * Reformatted all the code in src (with GNU indent) and then
1309 went back and fixed prototypes, etc since indent gets confused. The
1310 rationale is that it is better to do it sooner than later and now
1311 everything is consistent and will hopefully stay that way.
1312 The basic options to indent were: "-bad -bbb -bap -cdb -d0 -bl -bli0
1313 -nce -pcs -cs -cli4 -di1 -nbc -psl -lp -i4 -ip4 -c41" and then
1314 miscellaneous formatting fixes were applied. Note also that the
1315 "-nfc1" or "-nfca" may be appropriate in files where comments have
1316 been carefully formatted (e.g, modules.c).
1318 Sat Dec 14 20:35:22 1991 Brian Berliner (berliner at sun.com)
1320 * Changes between CVS 1.2 and CVS 1.3 Beta are described here.
1322 * Lots of portability work. CVS now uses the GNU "configure"
1323 script to dynamically determine the features provided by your
1324 system. It probably is not foolproof, but it is better than
1325 nothing. Please let me know of any portability problems. Some
1326 file names were changed to fit within 14-characters.
1328 * CVS has a new RCS parser that is much more flexible and
1329 extensible. It should read all known RCS ",v" format files.
1331 * Most of the commands now are fully recursive, rather than just
1332 operating on the current directory alone. This includes "commit",
1333 which makes it real easy to do an "atomic" commit of all the
1334 changes made to a CVS hierarchy of sources. Most of the commands
1335 also correctly handle file names that are in directories other than
1336 ".", including absolute path names. Commands now accept the "-R"
1337 option to force recursion on (though it is always the default now)
1338 and the "-l" option to force recursion off, doing just "." and not
1339 any sub-directories.
1341 * CVS supports many of the features provided with the RCS 5.x
1342 distribution - including the new "-k" keyword expansion options. I
1343 recommend using RCS 5.x (5.6 is the current official RCS version)
1344 and GNU diff 1.15 (or later) distributions with CVS.
1346 * Checking out files with symbolic tags/dates is now "sticky", in
1347 that CVS remembers the tag/date used for each file (and directory)
1348 and will use that tag/date automatically on the next "update" call.
1349 This stickyness also holds for files checked out with the the new
1350 RCS 5.x "-k" options.
1352 * The "cvs diff" command now recognizes all of the rcsdiff 5.x
1353 options. Unidiff format is available by installing the GNU
1354 diff 1.15 distribution.
1356 * The old "CVS.adm" directories created on checkout are now called
1357 "CVS" directories, to look more like "RCS" and "SCCS". Old CVS.adm
1358 directories are automagically converted to CVS directories. The
1359 old "CVSROOT.adm" directory within the source repository is
1360 automagically changed into a "CVSROOT" directory as well.
1362 * Symbolic links in the source repository are fully supported ONLY
1363 if you use RCS 5.6 or later and (of course) your system supports
1366 * A history database has been contributed which maintains the
1367 history of certain CVS operations, as well as providing a wide array
1368 of querying options.
1370 * The "cvs" program has a "-n" option which can be used with the
1371 "update" command to show what would be updated without actually
1372 doing the update, like: "cvs -n update". All usage statements
1373 have been cleaned up and made more verbose.
1375 * The module database parsing has been rewritten. The new format
1376 is compatible with the old format, but with much more
1377 functionality. It allows modules to be created that grab pieces or
1378 whole directories from various different parts of your source
1379 repository. Module-relative specifications are also correctly
1380 recognized now, like "cvs checkout module/file.c".
1382 * A configurable template can be specified such that on a "commit",
1383 certain directories can supply a template that the user must fill
1384 before completing the commit operation.
1386 * A configurable pre-commit checking program can be specified which
1387 will run to verify that a "commit" can happen. This feature can be
1388 used to restrict certain users from changing certain pieces of the
1389 source repository, or denying commits to the entire source
1392 * The new "cvs export" command is much like "checkout", but
1393 establishes defaults suitable for exporting code to others (expands
1394 out keywords, forces the use of a symbolic tag, and does not create
1395 "CVS" directories within the checked out sources.
1397 * The new "cvs import" command replaces the deprecated "checkin"
1398 shell script and is used to import sources into CVS control. It is
1399 also much faster for the first-time import. Some algorithmic
1400 improvements have also been made to reduce the number of
1401 conflicting files on next-time imports.
1403 * The new "cvs admin" command is basically an interface to the
1404 "rcs" program. (Not yet implemented very well).
1406 * Signal handling (on systems with BSD or POSIX signals) is much
1407 improved. Interrupting CVS now works with a single interrupt!
1409 * CVS now invokes RCS commands by direct fork/exec rather than
1410 calling system(3). This improves performance by removing a call to
1411 the shell to parse the arguments.
1413 * Support for the .cvsignore file has been contributed. CVS will
1414 now show "unknown" files as "? filename" as the result of an "update"
1415 command. The .cvsignore file can be used to add files to the
1416 current list of ignored files so that they won't show up as unknown.
1418 * Command argument changes:
1419 cvs: Added -l to turn off history logging.
1420 Added -n to show what would be done without actually
1422 Added -q/-Q for quiet and really quiet settings.
1423 Added -t to show debugging trace.
1424 add: Added -k to allow RCS 5.x -k options to be specified.
1425 admin: New command; an interface to rcs(1).
1426 checkout: Added -A to reset sticky tags/date/options.
1427 Added -N to not shorten module paths.
1428 Added -R option to force recursion.
1429 Changed -p (prune empty directories) to -P option.
1430 Changed -f option; forcing tags match is now default.
1431 Added -p option to checkout module to standard output.
1432 Added -s option to cat the modules db with status.
1433 Added -d option to checkout in the specified directory.
1434 Added -k option to use RCS 5.x -k support.
1435 commit: Removed -a option; use -l instead.
1437 Added -l option to disable recursion.
1438 Added -R option to force recursion.
1439 If no files specified, commit is recursive.
1440 diff: Now recognizes all RCS 5.x rcsdiff options.
1441 Added -l option to disable recursion.
1442 Added -R option to force recursion.
1443 history: New command; displays info about CVS usage.
1444 import: Replaces "checkin" shell script; imports sources
1445 under CVS control. Ignores files on the ignore
1446 list (see -I option or .cvsignore description above).
1447 export: New command; like "checkout", but w/special options
1448 turned on by default to facilitate exporting sources.
1449 join: Added -B option to join from base of the branch;
1450 join now defaults to only joining with the top two
1451 revisions on the branch.
1452 Added -k option for RCS 5.x -k support.
1453 log: Supports all RCS 5.x options.
1454 Added -l option to disable recursion.
1455 Added -R option to force recursion.
1456 patch: Changed -f option; forcing tags match is now default.
1457 Added -c option to force context-style diffs.
1458 Added -u option to support unidiff-style diffs.
1459 Added -V option to support RCS specific-version
1460 keyword expansion formats.
1461 Added -R option to force recursion.
1462 remove: No option changes. It's a bit more verbose.
1463 rtag: Equivalent to the old "cvs tag" command.
1464 No option changes. It's a lot faster for re-tag.
1465 status: New output formats with more information.
1466 Added -l option to disable recursion.
1467 Added -R option to force recursion.
1468 Added -v option to show symbolic tags for files.
1469 tag: Functionality changed to tag checked out files
1470 rather than modules; use "rtag" command to get the
1471 old "cvs tag" behaviour.
1472 update: Added -A to reset sticky tags/date/options.
1473 Changed -p (prune empty directories) to -P option.
1474 Changed -f option; forcing tags match is now default.
1475 Added -p option to checkout module to standard output.
1476 Added -I option to add files to the ignore list.
1477 Added -R option to force recursion.
1481 * Jeff Polk <polk@bsdi.com> rewrote most of the grody code of CVS
1482 1.2. He made just about everything dynamic (by using malloc),
1483 added a generic hashed list manager, re-wrote the modules database
1484 parsing in a compatible - but extended way, generalized directory
1485 hierarchy recursion for virtually all the commands (including
1486 commit!), generalized the loginfo file to be used for pre-commit
1487 checks and commit templates, wrote a new and flexible RCS parser,
1488 fixed an uncountable number of bugs, and helped in the design of
1489 future CVS features. If there's anything gross left in CVS, it's
1492 * David G. Grubbs <dgg@odi.com> contributed the CVS "history" and
1493 "release" commands. As well as the ever-so-useful "-n" option of
1494 CVS which tells CVS to show what it would do, without actually
1495 doing it. He also contributed support for the .cvsignore file.
1497 * Paul Sander, HaL Computer Systems, Inc. <paul@hal.com> wrote and
1498 contributed the code in lib/sighandle.c. I added support for
1499 POSIX, BSD, and non-POSIX/non-BSD systems.
1501 * Free Software Foundation contributed the "configure" script and
1502 other compatibility support in the "lib" directory, which will help
1503 make CVS much more portable.
1505 * Many others have contributed bug reports and enhancement requests.
1506 Some have even submitted actual code which I have not had time yet
1507 to integrate into CVS. Maybe for the next release.
1509 * Thanks to you all!
1511 Wed Feb 6 10:10:58 1991 Brian Berliner (berliner at sun.com)
1513 * Changes from CVS 1.0 Patchlevel 1 to CVS 1.0 Patchlevel 2; also
1514 known as "Changes from CVS 1.1 to CVS 1.2".
1516 * Major new support with this release is the ability to use the
1517 recently-posted RCS 5.5 distribution with CVS 1.2. See below for
1518 other assorted bug-fixes that have been thrown in.
1520 * ChangeLog (new): Added Emacs-style change-log file to CVS 1.2
1521 release. Chronological description of changes between release.
1523 * README: Small fixes to installation instructions. My email
1524 address is now "berliner@sun.com".
1526 * src/Makefile: Removed "rcstime.h". Removed "depend" rule.
1528 * src/partime.c: Updated to RCS 5.5 version with hooks for CVS.
1529 * src/maketime.c: Updated to RCS 5.5 version with hooks for CVS.
1530 * src/rcstime.h: Removed from the CVS 1.2 distribution.
1531 Thanks to Paul Eggert <eggert@twinsun.com> for these changes.
1533 * src/checkin.csh: Support for RCS 5.5 parsing.
1534 Thanks to Paul Eggert <eggert@twinsun.com> for this change.
1536 * src/collect_sets.c (Collect_Sets): Be quieter if "-f" option is
1537 specified. When checking out files on-top-of other files that CVS
1538 doesn't know about, run a diff in the hopes that they are really
1539 the same file before aborting.
1541 * src/commit.c (branch_number): Fix for RCS 5.5 parsing.
1542 Thanks to Paul Eggert <eggert@twinsun.com> for this change.
1544 * src/commit.c (do_editor): Bug fix - fprintf missing argument
1545 which sometimes caused core dumps.
1547 * src/modules.c (process_module): Properly NULL-terminate
1548 update_dir[] in all cases.
1550 * src/no_difference.c (No_Difference): The wrong RCS revision was
1551 being registered in certain (strange) cases.
1553 * src/patch.c (get_rcsdate): New algorithm. No need to call
1554 maketime() any longer.
1555 Thanks to Paul Eggert <eggert@twinsun.com> for this change.
1557 * src/patchlevel.h: Increased patch level to "2".
1559 * src/subr.c (isdir, islink): Changed to compare stat mode bits
1562 * src/tag.c (tag_file): Added support for following symbolic links
1563 that are in the master source repository when tagging. Made tag
1564 somewhat quieter in certain cases.
1566 * src/update.c (update_process_lists): Unlink the user's file if it
1567 was put on the Wlist, meaning that the user's file is not modified
1568 and its RCS file has been removed by someone else.
1570 * src/update.c (update): Support for "cvs update dir" to correctly
1571 just update the argument directory "dir".
1573 * src/cvs.h: Fixes for RCS 5.5 parsing.
1574 * src/version_number.c (Version_Number): Fixes for parsing RCS 5.5
1575 and older RCS-format files.
1576 Thanks to Paul Eggert <eggert@twinsun.com> for these changes.
1578 * src/version_number.c (Version_Number): Bug fixes for "-f" option.
1579 Bug fixes for parsing with certain branch numbers. RCS
1580 revision/symbol parsing is much more solid now.
1582 Wed Feb 14 10:01:33 1990 Brian Berliner (berliner at sun.com)
1584 * Changes from CVS 1.0 Patchlevel 0 to CVS 1.0 Patchlevel 1; also
1585 known as "Changes from CVS 1.0 to CVS 1.1".
1587 * src/patch.c (get_rcsdate): Portability fix. Replaced call to
1588 timelocal() with call to maketime().
1590 Mon Nov 19 23:15:11 1990 Brian Berliner (berliner at prisma.com)
1592 * Sent CVS 1.0 release to comp.sources.unix moderator and FSF.
1594 * Special thanks to Dick Grune <dick@cs.vu.nl> for his work on the
1595 1986 version of CVS and making it available to the world. Dick's
1596 version is available on uunet.uu.net in the
1597 comp.sources.unix/volume6/cvs directory.