6 * Thanks to Stefan Esser & Sebastian Krahmer, several potential security
7 problems have been fixed. The ones which were considered dangerous enough
8 to catalogue were assigned issue numbers CAN-2004-0416, CAN-2004-0417, &
9 CAN-2004-0418 by the Common Vulnerabilities and Exposures Project. Please
10 see <http://www.cve.mitre.org> for more information.
12 * A potential buffer overflow vulnerability in the server has been fixed.
13 This addresses the Common Vulnerabilities and Exposures Project's issue
14 #CAN-2004-0414. Please see <http://www.cve.mitre.org> for more information.
18 * `cvs log' & `cvs ls' now output local times when both the server and client
19 are 1.12.9 or greater.
23 * The windows-NT/config.h.in file is now generated dynamically from the
24 root config.h.in file and a few inputs in the windows-NT directory in hopes
25 of keeping it more in sync with the root config.h.in file.
27 Changes from 1.12.7 to 1.12.8:
28 ******************************
32 * A potential buffer overflow vulnerability in the server has been fixed.
33 Prior to this patch, a malicious client could potentially use carefully
34 crafted server requests to run arbitrary programs on the CVS server machine.
35 This addresses the Common Vulnerabilities and Exposures Project's issue
36 #CAN-2004-0396. Please see <http://www.cve.mitre.org> for more information.
40 * Some redundant output generated by the `cvs commit' command has been removed.
42 * Most output from the `cvs commit' command is suppressed when the -Q global
45 * Repository directory browsing via `cvs rls' & `cvs ls' commands. Expect
46 changes in the long format output soon. The "entries" format output should
47 remain fairly stable for automated parsers.
49 * Glob matches, as specified in ignore lists and wrapper options, now conform
50 to the POSIX.2 specification for fnmatch on all platforms.
52 * The Windows MS Visual C++ project files, including the nmake build files,
53 are now generated with MSVC++ 6.0, but should still work with MSVC++ 5.0.
57 * The cvs.1 man page is now generated automatically from a section of the CVS
60 * Thanks to a report from Mark Andrews at the Internet Systems Consortium, the
61 :ext: connection method no longer relies on a transparent transport that uses
62 an argument processor that can handle arbitrary ordering of options and other
63 arguments when using a username other than the caller's.
65 * Thanks to Ken Raeburn at MIT, directory deletion, whether via `cvs release'
66 or empty directory pruning, now works on network shares under Windows XP.
68 Changes from 1.12.6 to 1.12.7:
69 ******************************
71 SERVER SECURITY ISSUES
73 * Piped checkouts of paths above $CVSROOT no longer work. Previously, clients
74 could have requested the contents of RCS archive files anywhere on a CVS
75 server. This addresses CVE issue CAN-2004-0405. Please see
76 <http://www.cve.mitre.org> for more information.
78 CLIENT SECURITY ISSUES
80 * Clients now check paths from the server to verify that they are within one of
81 the sandboxes the user requested be updated. Previously, a trojan server
82 could have written or overwritten files anywhere the user had access,
83 presenting a serious security risk. This addresses CVE issue CAN-2004-1080.
84 Please see <http://www.cve.mitre.org> for more information.
88 * Imported the most recent version of regex from GNULIB, which actually means
89 some systems will use now their native regex functions instead of compiling
90 CVS's. Users should notice no changes in CVS responses to regular
91 expressions. If you do, please report them to <bug-cvs@gnu.org>.
93 * CVS now accepts the location of HTTP tunnel web proxies as part of the
94 CVSROOT string. Actually using a proxy remains untested. Please report
95 problems and successes to <bug-cvs@gnu.org>.
97 * Configure no longer checks the $TMPDIR, $TMP, & $TEMP variables to set the
98 default temporary directory.
100 * CVS on Cygwin correctly handles X:\ style paths.
102 * Import now uses backslash rather than slash on Windows when checking for
103 "CVS" directories to ignore in import commands.
105 * Relative paths containing up-references (`..') should now work in
106 client/server mode (client fix).
108 * A race condition between the ordering of messages from CVS and messages from
109 called scripts in client/server mode has been removed (server fix).
111 * The check_cvs and cvscheck scripts in the contrib directory have been renamed
112 validate_repo and sandbox_status, respectively, in the interests of clarity.
114 * The Windows MS Visual C++ 6.0 project files have been brought up to date.
115 The nmake build files were regenerated from these files with MSVC++ 5.0.
117 * A memory allocation bug on Windows that could cause at least executions of
118 `cvs status' to fail has been fixed (client fix).
120 * Resurrected files now get their modes and timestamps set correctly and a
121 longstanding bug involving resurrection of an uncommitted removal has been
124 * Some resurrection (cvs add) status messages have changed slightly.
126 * `cvs release' now works with Kerberos or GSSAPI encryption enabled (server
129 * File resurrection from a previously existing revision no longer just reports
130 that it works (server fix).
132 * Misc error & status message corrections.
134 * Diffing of locally added files against arbitrary revisions in an RCS archive
135 is now allowed when a file of the same name exists or used to exist on some
138 * Some user messages have been updated for consistency and spelling.
142 * The message source differentiation in the test suite between client and
143 server executables has been repaired.
145 Changes from 1.12.5 to 1.12.6:
146 ******************************
150 * CVSROOT/*info scripts may not work as expected with executables compiled
151 using VC++ under Windows since all quoting is currently done according to
152 Bourne Shell rules, which probably don't look like command.com rules.
153 Patches gratefully accepted.
155 * Imports will now always ignore directories and files named `CVS' to avoid
156 violating assumptions made by other parts of CVS.
158 * Directories specified to `checkout -d' are no longer required to exist. This
159 consolidates some behavior between `-d' options specified in the modules file
160 and `checkout -d' as well as removing some prior differences between local
161 and client/server mode operation.
163 * A problem with `cvs release' of subdirs that could corrupt CVS/Entries files
164 has been fixed (client/server).
166 * The CVS server's protocol check for unused data from the client is no longer
167 called automatically at program exit in order to avoid potential recursive
168 calls to error when the first close is due to memory allocation or similar
169 problems that cause calls to error() to fail. The check is still made when
170 the server program exits normally.
172 * The CVSROOT/*info files want a new command format and the old style strings
173 have been deprecated. Please see the manual for more information on the new
176 * The spec file has been updated to work with more recent versions of RPM.
178 * Some more GNULIB functions have been imported and/or updated for portability
181 * Several memory leaks have been plugged.
183 * A seg fault which always occurred after waiting on another process's lock
184 in order to establish a promotable lock is now avoided.
186 * An unlikely potential segfault when using the :fork: connection method has
189 * The CVS server has had the protocol check for unused data from the client
192 * A fix has been included that should avoid a very rare race condition that
193 could cause a CVS server to exit with a "broken pipe" message.
195 * Infinite alias loops in the modules file are now checked for and avoided.
197 * Clients on case insensitive systems now preserve the case of directories in
198 CVS/Entries, in addition to files, for use in communications with the CVS
201 * Misc status message fixes for consistency.
203 * Some previously untested behavior is now being tested.
205 * Server no longer claims to support the "Case" request.
207 * Case insensitive clients once again preserve the case of filenames in
208 CVS/Entries for communication with the server, as specified in the CVS
209 client/server protocol spec. Note that all CVS _servers_ still lack support
210 for case insensitive clients - servers are relying on the client to preserve
211 the case of checked out files.
213 * Thanks to Ville Skyttä the man page has a few less spelling errors and is
214 slightly more accurate.
216 * Thanks to Ville Skyttä some unused variables were removed from the log_accum
217 Perl script in contrib.
219 * Thanks to Alexey Mahotkin, a bug that prevented CVS from being compiled with
220 Kerberos 4 authentication enabled has been fixed.
222 * A minor bug that caused CVS to fail to report an inifinte alias loop in the
223 modules file when portions of the alias definition contained trailing slashes
226 * A bug in the gzip code that could cause heap corruption and segfaults in CVS
227 servers talking to clients less than 1.8 and some modern third-party CVS
228 clients has been fixed.
230 * mktemp.sh is now included with the source distribution so that the rcs2log
231 and cvsbug executables may be run on systems which do not contain an
232 implementation of mktemp.
234 * Misc documentation fixes.
238 * xmalloc, xstrdup, & some other memory allocating functions are now available
239 vi GNULIB versions imported into lib.
241 * The asnprintf() & vasnprintf() functions are now available due to a GNULIB
244 * Misc cosmetic, readability, and commenting fixes.
246 Changes between 1.12.4 and 1.12.5:
247 **********************************
249 SERVER SECURITY ISSUES
251 * pserver can no longer be configured to run as root via the
252 $CVSROOT/CVSROOT/passwd file, so if your passwd file is compromised, it no
253 longer leads directly to a root hack. Attempts to root will also be logged
258 * The Windows build files were updated to allow building of the current version
261 Changes between 1.12.3 and 1.12.4:
262 **********************************
266 * The CVS server no longer locks more than a directory at a time for write, so
267 large commits & tags should now have a much harder time blocking other
270 * Add support for large files. Use --disable-largefile to omit support
273 Changes between 1.12.2 and 1.12.3:
274 **********************************
276 SERVER SECURITY ISSUES
278 * Malformed module requests could cause the CVS server to attempt to create
279 directories and possibly files at the root of the filesystem holding the CVS
280 repository. Filesystem permissions usually prevent the creation of these
281 misplaced directories, but nevertheless, the CVS server now rejects the
286 * Support for case insensitive clients has been removed. This is not as
287 drastic as it sounds, as all of the current tests still pass without
288 modification when run from a case insensitive client to a case sensitive
289 server. In the end this should provide a major stability improvement.
291 * A minor problem that prevented the correct version of a system ZLIB from
292 being detected on some platforms has been fixed.
294 * Attempts to use the global `-l' option, removed from both client and server
295 as of version 1.12.1, will now elicit a warning rather than a fatal error
298 * The configure script now tests whether it is building CVS on a case
299 insensitive file system. If it is, CVS assumes that all file systems on this
300 platform will be case insensitive. This is useful for getting the case
301 insensitivity flag set correctly when compiling on Mac OS X and under Cygwin
302 on Windows. Autodetection can be overridden using the
303 --disable-case-sensitivity and --enable-case-sensitivity arguments to
308 * A new set of tests to test issues specific to case insensitive clients and
309 servers has also been added.
311 * Support has been added to the test suite to support testing over a :ext: link
312 to another machine, subject to some stringent requirements. This support can
313 be used, for instance, to test the operation of a case insensitive client
314 against a case sensitive server. Please see the comments in TEST and the
315 src/sanity.sh test script itself for more.
317 * We've standardized on Automake 1.7.9 to get a bug fix. See the note below
318 on the Autoconf upgrade for more details.
320 * We've standardized on Autoconf version 2.58 to avoid a bug and get at a few
321 new macros. Again, this should only really affect developers, though it is
322 possible that CVS will now compile on a few new platforms. Please see the
323 section of the INSTALL file about using the autotools if you are compiling
326 Changes between 1.12.1 and 1.12.2:
328 * Misc cleanup, reorganization, and other minor fixes.
330 * A behavior change in `cvs up -jrev1 -jrev2' for modified files with a base
331 revision of rev2 (ie, checked-out version matches rev2 and file has been
332 modified). The operation is no longer ignored and instead is passed to
333 diff3. This will potentially re-apply the diffs between the two revisions to
334 a modified local file. Status messages like from a standard merge have also
335 been added when the file would not or does not change due to this merge
336 request ("[file] already contains the changes between [revisions]...").
338 * A build problem that caused warnings and slower builds on systems without a
339 working getline() function (e.g. Mac OS X 10.1) has been fixed.
341 * A build problem that prevented the CVS executable from being built on systems
342 with the gettext library installed has been fixed.
344 * A bug which could stop `cvs admin -mTAG:message' from recursing has been
347 * Misc documentation cleanup and fixes.
349 * Some of the contrib scripts, some of the documentation, and sanity.sh were
350 modified to use and recommend more portable commands rather than using and
351 recommending commands which were not compatible with the POSIX 1003.1-2001
354 * CVS now knows how to report, as well as record, `P' record types.
356 * When running the `cvs history' command, clients will now send the
357 long-accepted `-e' option, for all records, rather than explicitly requesting
358 `P' record types, a request which servers prior to 1.11.7 will reject with a
361 * A problem with locating files requested by case insensitive clients which was
362 accidentally introduced in 1.11.6 as part of a fix for a data loss problem
363 involving `cvs add's from case insensitive clients has been fixed. The
364 relevant error message was `cvs [<command> aborted]: filE,v is ambiguous;
365 could mean FILE,v or file,v'.
367 * A problem in the CVS getpass library that could cause passwords to echo on
368 some systems has been fixed.
370 * A segfault that could occur in very rare cases where the stat of a file
371 failed during a diff has been fixed.
373 * Any user with write privleges to the CVSROOT/checkoutlist file could pass
374 arbitrary format strings directly through to a printf function. This was
375 probably bad and has been fixed. White space at the beginning of error strings
376 in checkoutlist is now ignored properly.
378 * A chmod 0600 that CVS performed on temp files it created designed to work
379 around a bug in versions of GLIBC eariler than 2.0.7 has been removed since it
380 still left a race condition open to exploitation and provided a false sense of
381 security. If you are linking CVS against a version of GLIBC prior to 2.0.7,
382 you should consider upgrading GLIBC.
384 * The CVSROOT/editinfo file is no longer referenced by CVS. This funcitonality
385 has been deprecated for over six years and removing it will presumably not
386 cause anyone any problems.
388 * In client/server mode, most messages from CVS now contain the actual
389 command name rather than the generic "server".
391 * A long-standing bug that prevented most client/server updates from being
392 logged in the history file has been fixed.
394 * Updates done via a patch ("P" status) are now logged in the history file
395 by default and the corresponding "P" history record type is now documented.
396 If you're setting the LogHistory option in your CVSROOT/config file, you may
397 want to add "P" to the list of record types.
399 * CVS now will always compile its own getpass() function (originally from
400 GNULIB) in favor of any system one that may exist. This avoids some problems
401 with long passwords on some systems and updates us to POSIX.2 compliance, since
402 getpass() was removed from the POSIX.2 specification.
404 * Support for pre-ANSI compilers has been removed. Our minimum support level
405 now assumes at least a freestanding C89 compilers. See the HACKING file for
406 more information. If you *really* need K&R support, our Makefile.am files
407 should only need minor tweaking to get them to run the ansi2knr script from the
408 Automake project. If you get this working, please send a patch to
411 * Experimental support for Pluggable Authentication Modules (PAM) has been
412 added, though it is not compiled by default. If you like this feature (or
413 don't), please send us feedback. See the Cederqvist, `./configure --help',
414 and the INSTALL file for more.
416 * Command line keyword expansion modes no longer override binary keyword
419 * New LocalKeyword and KeywordExpand options to CVSROOT/config which
420 FreeBSD, OpenBSD, and NetBSD users may find familiar as the "tag" and
421 "tagexpand" options used for many years. The CVSHeader keyword has
422 also been added to the mixture.
424 * A bug that allowed a write lock to be created in a directory despite
425 there being existing read locks when using LockDir in CVSROOT/config has
428 * A bug with short patches (`rdiff -s') which caused rdiff to sometimes report
429 differences that did not exist has been fixed.
431 * Some minor corrections were made to the diff code to keep diff & rdiff from
432 printing diff headers with empty change texts when two files have different
433 revision numbers but the same content.
435 * The global '-l' option, which suppressed history logging, has been removed
436 from both client and server.
438 Changes from 1.11.5 to 1.12.1:
440 * The new --with-external-zlib option can be passed to configure to compile
441 CVS against an external installed zlib.
443 * A warning message is now issued if an administrative file contains
444 more than one DEFAULT entry.
446 * An error running a verifymsg script (such as referencing an unset user
447 variable or the script not existing) now causes the verification to
450 * Errors in administrative files commands (like unset user variables)
451 are no longer reported unless the command is actually executed.
453 * When a file is initially checked out, its last access time is now set
454 to the current time rather than being set to the time the file was last
455 checked in like the modification time is.
457 * The Checkin.prog and Update.prog functionality has been removed. This
458 fuctionality previously allowed executables to be specified in the modules file
459 to be run at update and checkin time, but users could edit these files on a per
460 workspace basis, creating a security hole.
462 * CVSROOTs which contain a symlink to a real repository should work.
464 * contrib/rcs2log and src/cvsbug now use the BSD mktemp program to create
465 their temp files and directories on systems which provide it.
467 * Added a UserAdminOptions configuration option to CVSROOT/config to
468 control which `cvs admin' commands are not restricted to the `cvsadmin'
471 * If the rcsinfo specified template changes after a user has checked
472 out a tree, the template in the users' tree will be updated rather
473 than remaining static from the time of the original checkout.
475 * Added a CVSREADONLYFS environment variable and `-R' cvs global
476 option to turn on read-only repository mode for local repositories.
477 This allows users to checkout from a CDROM repository or other
478 read-only filesystem.
480 * There is a new CVS_LOCAL_BRANCH_NUM environment variable, which
481 may be used to give control over the branch number to be used next.
482 Useful for having local changes in a CVSup mirrored repository.
484 * Miscellaneous documentation corrections.
486 * Corrected the path in a failed write error message.
488 * Autoconf and Automake are no longer run automatically unless you run
489 configure with --enable-maintainer-mode. Accordingly, noautomake.sh is
490 no longer needed and has been removed.
492 * We've standardized on Automake version 1.7.5 and Autoconf version 2.57 to get
493 at a few new macros. Again, this should only really affect developers. See
494 the section of the INSTALL file about using the autotools if you are compiling
497 Changes from 1.11.4 to 1.11.5:
499 * Fixed a security hole in the CVS server by which users with read only access
500 could gain write access. This issue does not affect client builds. The
501 Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the
502 name CAN-2003-0015 to this issue. See
503 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0015> for more
506 * Fixed some bugs where revision numbers starting with 0 (like 0.3)
507 weren't correctly handled. (CVS doesn't normally use such revision
508 numbers, but users may be able to force it to do so and old RCS files
511 Changes from 1.11.3 to 1.11.4:
513 * Some minor changes to allow the code to compile on Windows platforms.
515 Changes from 1.11.2 to 1.11.3:
517 * The tag/rtag code has been fixed to once again lock just a single
520 * There was a bug where certain error conditions could cause the server
521 to go into an infinite loop. There was also a bug that caused a
522 compressed connection from an older client to hang on shutdown. These
523 bugs have been fixed.
525 * Fixed a bug that caused the server to reject most watch commands.
527 * When waiting for another user's lock, the message timestamps are now
528 in UTC rather than the server's local time.
530 * The options.h file is no longer used. This fixes a bug that occurred when
531 1.11.2 was compiled on Windows platforms.
533 * We've standardized on Automake version 1.6.3 and Autoconf version 2.53.
534 They are cleaner, less bug prone, and will hopfully allow me to start updating
535 sanity.sh to use Autotest and Autoshell. Again, this should only really affect
536 developers. See the section of the INSTALL file about using the autotools if
537 you are compiling CVS yourself.
539 * Fixed a bug in the log/rlog code when a revision range crosses a
542 * Fixed a bug where filenames starting with - would be misinterpreted as
543 options when using client/server mode.
545 Changes from 1.11.1p1 to 1.11.2:
547 * There is a new feature, enabled by RereadLogAfterVerify in CVSROOT/config,
548 which tells CVS to reread the log message after running the verifymsg
549 script. This allows the verifymsg script to reformat or otherwise
550 modify the log message.
552 * The interpretation of revision ranges using :: in "log" and "rlog"
553 has changed: a::b now excludes the log message from revision a but
554 includes the log message from revision b. Also, revision ranges that
555 cross branch points should now work.
557 * zlib has been updated to version 1.4. There is a security advisory
558 out in regards to 1.3. This should fix that problem.
560 * The "log" and "rlog" commands now have a -S option to suppress the
561 header information when no revisions are selected.
563 * A serious error that allowed read-only users to tag files has been
566 * The "annotate" command will no longer annotate binary files unless
567 you specify the new -F option.
569 * The "tag" and "rtag" commands will no longer move or delete branch
570 tags unless you use the new -B option. (This prevents accidental
571 changes to branch tags that are hard to undo.)
573 * We've standardized on the 1.5 Automake release for the moment. Again, this
574 should only really affect developers. See the section of the INSTALL file
575 about using the autotools if you are compiling CVS yourself.
577 Changes from 1.11.1 to 1.11.1p1:
579 * Read only access was broken - now fixed.
581 Changes from 1.11 to 1.11.1:
583 * There was a locking bug in the tag/rtag code that could lose changes
584 made to a file while the tag operation was in progress. This has been
585 fixed, but all of the directories being tagged are now locked for the
586 entire duration of the tag operation rather than only one directory at a
589 * The "cvs diff" command now accepts the -y/--side=by-side and -T/
590 --initial-tab options. (To use these options with a remote repository,
591 both the client and the server must support them.)
593 * The expansion of the loginfo format string has changed slightly.
594 Previously, the expansion was surrounded by single quotes ('); if a file
595 name contained a single quote character, the string would not be parsed
596 as a single entity by the Unix shell (and it would not be possible to
597 parse it unambiguously). Now the expansion is surrounded by double
598 quotes (") and any embedded dollar signs ($), backticks (`), backslashes
599 (\), and double quotes are preceded by a backslash. This is parsed as a
600 single entity by the shell reguardless of content. This change should
601 not be noticable unless you're not using a Unix shell or you have
602 embedded the format string inside a double quoted string.
604 * There was a bug in the diff code which sometimes caused conflicts to
605 be flagged which shouldn't have been. This has been fixed.
607 * New "cvs rlog" and "cvs rannotate" commands have been added to get log
608 messages and annotations without having to have a checked-out copy.
610 * Exclusive revision ranges have been added to "cvs log" using ::
611 (similar to "cvs admin -o").
613 * The VMS client now accepts wildcards if you're running VMS 7.x.
615 * ZLIB has been updated to version 1.1.3, the most current version. This
616 includes mostly some optimizations and minor bug fixes.
618 * The ~/.cvspass file has a slightly modified format. CVSROOTs are now
619 stored in a new canonical form - hostnames are now case insensitive and
620 port numbers are always stored in the new format. Until a new login for
621 a particular CVSROOT is performed with the new version of CVS, new and
622 old versions of CVS should interoperate invisibly. After that point, an
623 extra login using the old version of CVS may be necessary to continue to
624 allow the new and old versions of CVS to interoperate using the same
625 ~/.cvspass file and CVSROOT. The exception to this rule occurs when the
626 CVSROOTs used with the different versions use case insensitively
627 different hostnames, for example, "empress", and "empress.2-wit.com".
629 * A password and a port number may now be specified in CVSROOT for
630 pserver connections. The new format is:
632 :pserver:[[user][:password]@]host[:[port]]/path
634 Note that passwords specified in a checkout command will be saved in the
635 clear in the CVS/Root file in each created directory, so this is not
636 recommended, except perhaps when accessing anonymous repositories or the
639 * The distribution has been converted to use Automake. This shouldn't
640 affect most users except to ease some portability concerns, but if you
641 are building from the repository and encounter problems with the
642 makefiles, you might try running ./noautomake.sh after a fresh update
645 Changes from 1.10 to 1.11:
647 * The "cvs update" command has a new -C option to get clean copies from
648 the repository, abandoning any local changes.
650 * The new "cvs version" command gives a short version message. If
651 the repository is remote, both the client and server versions are
654 * "cvs admin -t" now works correctly in client/server mode.
656 * The "cvs history" command output format has changed -- the date
657 now includes the year and is given is ISO 8601 format (yyyy-mm-dd).
658 Also, the new LogHistory option in CVSROOT/config can be used to
659 control what information gets recorded in the log file and code has
660 been added to record file removals.
662 * The buggy PreservePermissions code has been disabled.
664 * Anonymous read-only access can now be done without requiring a
665 password. On the server side, simply give that user (presumably
666 `anonymous') an empty password in the CVSROOT/passwd file, and then
667 any received password will authenticate successfully.
669 * There is a new access method :fork: which is similar to :local:
670 except that it is implemented via the CVS remote protocol, and thus
671 has a somewhat different set of quirks and bugs.
673 * The -d command line option no longer updates the CVS/Root file. For
674 one thing, the CVS 1.9/1.10 behavior never had updated CVS/Root in
675 subdirectories, and for another, it didn't seem that popular in
676 general. So this change restores the CVS 1.8 behavior (which is also
677 the CVS 1.9/1.10 behavior if the environment variable
678 CVS_IGNORE_REMOTE_ROOT is set; with this change,
679 CVS_IGNORE_REMOTE_ROOT no longer has any effect).
681 * It is now possible for a single CVS command to recurse into several
682 CVS roots. This includes roots which are located on several servers,
683 or which are both remote and local. CVS will make connections to as
684 many servers as necessary.
686 * It is now possible to put the CVS lock files in a directory
687 set by the new LockDir option in CVSROOT/config. The default
688 continues to be to put the lock files in the repository itself.
690 Changes from 1.9 to 1.10:
692 * A bug was discovered in the -t/-f wrapper support that can cause
693 serious data loss. Because of this (and also the fact that it doesn't
694 work at all in client/server mode), the -t/-f wrapper code has been
695 disabled until it can be fixed.
697 * There is a new feature, enabled by TopLevelAdmin in CVSROOT/config,
698 which tells CVS to modify the behavior of the "checkout" command. The
699 command now creates a CVS directory at the top level of the new
700 working directory, in addition to CVS directories created within
701 checked-out directories. See the Cederqvist for details.
703 * There is an optional set of features, enabled by PreservePermissions
704 in CVSROOT/config, which allow CVS to store unix-specific file
705 information such as permissions, file ownership, and links. See the
706 Cederqvist for details.
708 * One can now authenticate and encrypt using the GSSAPI network
709 security interface. For details see the Cederqvist's description of
710 specifying :gserver: in CVSROOT, and the -a global option.
712 * All access to RCS files is now implemented internally rather than by
713 calling RCS programs. The main user-visible consequence of this is
714 that there is no need to worry about making sure that CVS finds the
715 correct version of RCS. The -b global option and the RCSBIN setting
716 in CVSROOT/config are still accepted but don't do anything. The
717 $RCSBIN internal variable in administrative files is no longer
720 * There is a new syntax, "cvs admin -orev1::rev2", which collapses the
721 revisions between rev1 and rev2 without deleting rev1 or rev2
724 * There is a new administrative file CVSROOT/config which allows one
725 to specify miscellaneous aspects of CVS configuration. Currently
728 - SystemAuth, allows you to prevent pserver from checking for system
731 For more information see the "config" section of cvs.texinfo.
733 * When setting up the pserver server, one now must specify the
734 allowable CVSROOT directories in inetd.conf. See the Password
735 authentication server section of cvs.texinfo for details. Note that
736 this implies that everyone who is running a pserver server must edit
737 inetd.conf when upgrading their CVS.
739 * The client no longer needs an external patch program (assuming both
740 the client and the server have been updated to the new version).
742 * "cvs admin [options]" will now recurse. In previous versions of
743 CVS, it was an error and one needed to specify "cvs admin [options] ."
744 to recurse. This change brings admin in line with the other CVS
747 * New "logout" command to remove the password for a remote cvs
748 repository from the cvspass file.
750 * Read-only repository access is implemented for the
751 password-authenticated server (other access methods are just governed
752 by Unix file permissions, since they require login access to the
753 repository machine anyway). See the "Repository" section of
754 cvs.texinfo for details, including a discussion of security issues.
755 Note that the requirement that read-only users be able to create locks
756 and write the history file still applies.
758 * There is a new administrative file verifymsg which is like editinfo
759 but merely validates the message, rather than also getting it from the
760 user. It therefore works with client/server CVS or if one uses the -m
761 or -F options to commit. See the verifymsg section of cvs.texinfo for
764 * The %s format formerly accepted in loginfo has been extended to
765 formats such as %{sVv}, so that loginfo scripts have access to the
766 version numbers being changed. See the Loginfo section of cvs.texinfo
769 * The postscript documentation (doc/cvs.ps) shipped with CVS is now
770 formatted for US letter size instead of A4. This is not because we
771 consider this size "better" than A4, but because we believe that the
772 US letter version will print better on A4 paper than the other way
775 * The "cvs export" command is now logged in the history file and there
776 is a "cvs history -x E" command to select history file entries
779 * CVS no longer uses the CVS_PASSWORD environment variable. Storing
780 passwords in cleartext in an environment variable is a security risk,
781 especially since (on BSD variants) any user on the system can display
782 any process's environment using 'ps'. Users should use the 'cvs
783 login' command instead.
786 Changes from 1.8 to 1.9:
788 * Windows NT client should now work on Windows 95 as well.
790 * New option "--help-synonyms" prints a list of all recognized command
793 * The "log" command is now implemented internally rather than via the
794 RCS "rlog" program. The main user-visible consequence is that
795 symbolic branch names now work (for example "cvs log -rbranch1").
796 Also, the date formats accepted by -d have changed. They previously
797 had been a bewildering variety of poorly-documented date formats. Now
798 they are the same as the date formats accepted by the -D options to
799 the other CVS commands, which is also a (different) bewildering
800 variety of poorly-documented date formats, but at least we are
801 consistently bewildering :-).
803 * Encryption is now supported over a Kerberos client/server
804 connection. The new "-x" global option requests it. You must
805 configure with the --enable-encryption option in order to enable
808 * The format of the CVS commit message has changed slightly when
809 committing changes on a branch. The tag on which the commit is
810 ocurring is now reported correctly in all cases.
812 * New flag -k in wrappers allows you to specify the keyword expansion
813 mode for added files based on their name. For example, you can
814 specify that files whose name matches *.exe are binary by default.
815 See the Wrappers section of cvs.texinfo for more details.
817 * Remote CVS with the "-z" option now uses the zlib library (included
818 with CVS) to compress all communication between the client and the
819 server, rather than invoking gzip on each file separately. This means
820 that compression is better and there is no need for an external gzip
821 program (except to interoperate with older version of CVS).
823 * The "cvs rlog" command is deprecated and running it will print a
824 warning; use the synonymous "cvs log" command instead. It is
825 confusing for rlog to mean the same as log because some other CVS
826 commands are in pairs consisting of a plain command which operates on
827 a working directory and an "r" command which does not (diff/rdiff;
830 * "cvs diff" has a bunch of new options, mostly long options. Most of
831 these work only if rcsdiff and diff support them, and are named the
832 same as the corresponding options to diff.
834 * The -q and -Q command options to "cvs diff" were removed (use the
835 global options instead). This brings "cvs diff" into line with the
836 rest of the CVS commands.
838 * The "annotate" command can now be used to annotate a revision other
839 than the head revision on the trunk (see the -r, -D, and -f options in
840 the annotate node of cvs.texinfo for details).
842 * The "tag" command has a new option "-c" which checks that all files
843 are not locally modified before tagging.
845 * The -d command line option now overrides the cvsroot setting stored
846 in the CVS/Root file in each working directory, and specifying -d will
847 cause CVS/Root to be updated.
849 * Local (non-client/server) CVS now runs on Windows NT. See
850 windows-NT/README for details.
852 * The CVSROOT variable specification has changed to support more
853 access methods. In addition to "pserver," "server" (internal rsh
854 client), "ext" (external rsh client), "kserver" (kerberos), and
855 "local" (local filesystem access) can now be specified. For more
856 details on each method, see cvs.texinfo (there is an index entry for
857 :local: and each of the other access methods).
859 * The "login" command no longer prompts the user for username and
860 hostname, since one will have to provide that information via the `-d'
861 flag or by setting CVSROOT.
863 Changes from 1.7 to 1.8:
865 * New "cvs annotate" command to display the last modification for each
866 line of a file, with the revision number, user checking in the
867 modification, and date of the modification. For more information see
868 the `annotate' node in cvs.texinfo.
870 * The cvsinit shell script has been replaced by a cvs init command.
871 The cvs init command creates some example administrative files which
872 are similar to the files found in the examples directory (and copied
873 by cvsinit) in previous releases.
875 * Added the patterns *.olb *.exe _$* *$ to default ignore list.
877 * There is now a $USER internal variable for *info files.
879 * There is no longer a separate `mkmodules' program; the functionality
880 is now built into `cvs'. If upgrading an old repository, it is OK to
881 leave in the lines in the modules file which run mkmodules (the
882 mkmodules actions will get done twice, but that is harmless); you will
883 probably want to remove them once you are no longer using the old CVS.
885 * One can now specify user variables in *info files via the
886 ${=varname} syntax; there is a -s global option to set them. See the
887 Variables node in cvs.texinfo for details.
889 Changes from 1.6 to 1.7:
891 * The default ignore list has changed slightly: *.obj has been added
892 and CVS* has been changed to CVS CVS.adm.
894 * CVS now supports password authentication when accessing remote
895 repositories; this is useful for sites that can't use rsh (because of
896 a firewall, for example), and also don't have kerberos. See node
897 "Password authenticated" (in "Remote repositories", in
898 doc/cvs.texinfo) for more details. Note: This feature requires both
899 the client and server to be upgraded.
901 * Using the -kb option to specify binary files now works--most cases
902 did not work before. See the "Binary files" section of
903 doc/cvs.texinfo for details.
905 * New developer communication features. See the "Watches" section of
906 doc/cvs.texinfo for details.
908 * RCS keyword "Name" supported for "cvs update -r <tag>" and "cvs
911 * If there is a group whose name matches a compiled in value which
912 defaults to "cvsadmin", only members of that group can use "cvs
913 admin". This replaces the CVS_NOADMIN option.
915 * CVS now sets the modes of files in the repository based on the
916 CVSUMASK environment variable or a compiled in value defaulting to
917 002. This way other developers will be able to access the files in
918 the repository regardless of the umask of the developer creating them.
920 * The command names in .cvsrc now match the official name of the
921 command, not the one (possibly an alias) by which it was invoked. If
922 you had previously relied on "cvs di" and "cvs diff" using different
923 options, instead use a shell function or alias (for example "alias
924 cvsdi='cvs diff -u'"). You also can specify global CVS options (like
925 "-z") using the command name "cvs".
927 Changes from 1.5 to 1.6:
929 * Del updated the man page to include all of the new features
932 * "cvs tag" now supports a "-r | -D" option for tagging an already
933 tagged revision / specific revision of a file.
935 * There is a "taginfo" file in CVSROOT that supports filtering and
936 recording of tag operations.
938 * Long options support added, including --help and --version options.
940 * "cvs release" no longer cares whether or not the directory being
941 released has an entry in the `modules' file.
943 * The modules file now takes a -e option which is used instead of -o
944 for "cvs export". If your modules file has a -o option which you want
945 to be used for "cvs export", change it to specify -e as well as -o.
947 * "cvs export" now takes a -k option to set RCS keyword expansion.
948 This way you can export binary files. If you want the old behavior,
949 you need to specify -kv.
951 * "cvs update", "cvs rdiff", "cvs checkout", "cvs import", "cvs
952 release", "cvs rtag", and "cvs tag" used to take -q and -Q options
953 after the command name (e.g. "cvs update -q"). This was confusing
954 because other commands, such as "cvs ci", did not. So the options
955 after the command name have been removed and you must now specify, for
956 example, "cvs -q update", which has been supported since CVS 1.3.
958 * New "wrappers" feature. This allows you to set a hook which
959 transforms files on their way in and out of cvs (apparently on the
960 NeXT there is some particular usefulness in tarring things up in the
961 repository). It also allows you to declare files as merge-by-copy
962 which means that instead of trying to merge the file, CVS will merely
963 copy the new version. There is a CVSROOT/cvswrappers file and an
964 optionsl ~/.cvswrappers file to support this feature.
966 * You can set CVSROOT to user@host:dir, not just host:dir, if your
967 username on the server host is different than on the client host.
969 * VISUAL is accepted as well as EDITOR.
971 * $CVSROOT is expanded in *info files.
973 Changes from 1.4A2 to 1.5:
975 * Remote implementation. This is very helpful when collaborating on a
976 project with someone across a wide-area network. This release can
977 also be used locally, like other CVS versions, if you have no need for
980 Here are some of the features of the remote implementation:
981 - It uses reliable transport protocols (TCP/IP) for remote repository
982 access, not NFS. NFS is unusable over long distances (and sometimes
983 over short distances)
984 - It transfers only those files that have changed in the repository or
985 the working directory. To save transmission time, it will transfer
986 patches when appropriate, and can compress data for transmission.
987 - The server never holds CVS locks while waiting for a reply from the client;
988 this makes the system robust when used over flaky networks.
990 The remote features are documented in doc/cvsclient.texi in the CVS
991 distribution, but the main doc file, cvs.texinfo, has not yet been
992 updated to include the remote features.
994 * Death support. See src/README-rm-add for more information on this.
996 * Many speedups, especially from jtc@cygnus.com.
998 * CVS 1.2 compatibility code has been removed as a speedup. If you
999 have working directories checked out by CVS 1.2, CVS 1.3 or 1.4A2 will
1000 try to convert them, but CVS 1.5 and later will not (if the working
1001 directory is up to date and contains no extraneous files, you can just
1002 remove it, and then check out a new working directory). Likewise if
1003 your repository contains a CVSROOT.adm directory instead of a CVSROOT
1004 directory, you need to rename it.
1006 Fri Oct 21 20:58:54 1994 Brian Berliner <berliner@sun.com>
1008 * Changes between CVS 1.3 and CVS 1.4 Alpha-2
1010 * A new program, "cvsbug", is provided to let you send bug reports
1011 directly to the CVS maintainers. Please use it instead of sending
1012 mail to the info-cvs mailing list. If your build fails, you may
1013 have to invoke "cvsbug" directly from the "src" directory as
1016 * A new User's Guide and Tutorial, written by Per Cederqvist
1017 <ceder@signum.se> of Signum Support. See the "doc" directory. A
1018 PostScript version is included as "doc/cvs.ps".
1020 * The Frequesntly Asked Questions file, FAQ, has been added to the
1021 release. Unfortunately, its contents are likely out-of-date.
1023 * The "cvsinit" shell script is now installed in the $prefix/bin
1024 directory like the other programs. You can now create new
1025 CVS repositories with great ease.
1027 * Index: lines are now printed on output from 'diff' and 'rdiff',
1028 in order to facilitate application of patches to multiple subdirs.
1030 * Support for a ~/.cvsrc file, which allows you to specify options
1031 that are always supposed to be given to a specific command. This
1032 feature shows the non-orthogonality of the option set, since while
1033 there may be an option to turn something on, the option to turn
1034 that same thing off may not exist.
1036 * You can now list subdirectories that you wish to ignore in a
1037 modules listing, such as:
1039 gcc -a gnu/gcc, !gnu/gcc/testsuites
1041 which will check out everything underneath gnu/gcc, except
1042 everything underneath gnu/gcc/testsuites.
1044 * It is now much harder to accidentally overwrite an existing tag
1045 name, since attempting to move a tag name will result in a error,
1046 unless the -F (force) flag is given to the tag subcommands.
1048 * Better error checking on matching of the repository used to
1049 check code out from against the repository the current cvs
1050 commnands would use. (Thanks to Mark Baushke <mdb@cisco.com>)
1052 * Better support for sites with multiple CVSROOT repositories has
1053 been contributed. The file "CVS/Root" in your working directory
1054 is created to hold the full path to the CVS repository and a
1055 simple check is made against your current CVSROOT setting.
1057 * You can now specify an RCS keyword substitution value when you
1058 import files into the repository.
1060 * Uses a much newer version of Autoconf, and conforms to the GNU
1061 coding standards much more closely. No, it still doesn't have
1064 * Code cleanup. Many passes through gcc -Wall helped to identify
1065 a number of questionable constructs. Most arbitrary length limits
1068 * Profiling to determine bottlenecks helped to identify the best
1069 places to spend time speeding up the code, which was then done. A
1070 number of performance enhancements in filename matching have sped
1073 * Many more contributions have been added to the "contrib"
1074 directory. See the README file in that directory for more
1077 * "cvs commit" will try harder to not change the file's
1078 modification time after the commit. If the file does not change
1079 as a result of the commit operation, CVS will preserve the
1080 original modification time, thus speeding up future make-type
1083 * "cvs commit" now includes any removed files in the (optional)
1084 pre-commit checking program that may be invoked. Previously, only
1085 added and modified files were included.
1087 * It is now possible to commit a file directly onto the trunk at a
1088 specific revision level by doing "cvs commit -r3.0 file.c", where
1089 "3.0" specifies the revision you wish to create. The file must be
1090 up-to-date with the current head of the trunk for this to succeed.
1092 * "cvs commit" will now function with a pre-commit program that
1093 has arguments specified in the "commitinfo" file.
1095 * The "mkmodules" program will now look within the
1096 $CVSROOT/CVSROOT/checkoutlist" file for any additional files that
1097 should be automatically checked out within CVSROOT; mkmodules also
1098 tries harder to preserve any execute bits the files may have
1101 * "cvs diff" is much more accurate about its exit status now. It
1102 now returns the maximum exit status of any invoked diff.
1104 * The "-I !" option is now supported for the import and update
1105 commands correctly. It will properly clear the ignore list now.
1107 * Some problems with "cvs import" handling of .cvsignore have been
1108 fixed; as well, some rampant recursion problems with import have
1111 * "cvs rdiff" (aka "cvs patch") now tries to set the modify time
1112 of any temporary files it uses to match those specified for the
1113 particular revision. This allows a more accurate patch image to
1116 * "cvs status" has improved revision descriptions. "Working
1117 revision" is used for the revision of the working file that you
1118 edit directly; "Repository revision" is the revision of the file
1119 with the $CVSROOT source repository. Also, the output is clearer
1120 with regard to sticky and branch revisions.
1122 * CVS no longer dumps core when given a mixture of directories and
1123 files in sub-directories (as in "cvs ci file1 dir1/file2").
1124 Instead, arguments are now clumped into their respective directory
1125 and operated on in chunks, together.
1127 * If the CVSEDITOR environment variable is set, that editor is
1128 used for log messages instead of the EDITOR environment variable.
1129 This makes it easy to substitute intelligent programs to make more
1130 elaborate log messages. Contributed by Mark D Baushke
1133 * Command argument changes:
1134 cvs: The "-f" option has been added to ignore
1136 commit: Renamed the "-f logfile" option to the
1137 "-F logfile" option. Added the "-f"
1138 option to force a commit of the specified
1139 files (this disables recursion).
1140 history: Added "-t timezone" option to force any
1141 date-specific output into the specified
1143 import: Added "-d" option to use the file's
1144 modification time as the time of the
1145 import. Added "-k sub" option to set the
1146 default RCS keyword substitution mode for
1147 newly-created files.
1148 remove: Added "-f" option to force the file's
1149 automatic removal if it still exists in
1150 the working directory (use with caution).
1151 rtag: Added "-F" option to move the tag if it
1152 already exists -- new default is to NOT
1153 move tags automatically.
1154 tag: Added "-F" option to move the tag if it
1155 already exists -- new default is to NOT
1156 move tags automatically.
1158 Tue Apr 7 15:55:25 1992 Brian Berliner (berliner at sun.com)
1160 * Changes between CVS 1.3 Beta-3 and official CVS 1.3!
1162 * A new shell script is provided, "./cvsinit", which can be run at
1163 install time to help setup your $CVSROOT area. This can greatly
1164 ease your entry into CVS usage.
1166 * The INSTALL file has been updated to include the machines on
1167 which CVS has compiled successfully. I think CVS 1.3 is finally
1168 portable. Thanks to all the Beta testers!
1170 * Support for the "editinfo" file was contributed. This file
1171 (located in $CVSROOT/CVSROOT) can be used to specify a special
1172 "editor" to run on a per-directory basis within the repository,
1173 instead of the usual user's editor. As such, it can verify that
1174 the log message entered by the user is of the appropriate form
1175 (contains a bugid and test validation, for example).
1177 * The manual pages cvs(1) and cvs(5) have been updated.
1179 * The "mkmodules" command now informs you when your modules file
1180 has duplicate entries.
1182 * The "add" command now preserves any per-directory sticky tag when
1183 you add a new directory to your checked-out sources.
1185 * The "admin" command is now a fully recursive interface to the
1186 "rcs" program which operates on your checked-out sources. It no
1187 longer requires you to specify the full path to the RCS file.
1189 * The per-file sticky tags can now be effectively removed with
1190 "cvs update -A file", even if you had checked out the whole
1191 directory with a per-directory sticky tag. This allows a great
1192 deal of flexibility in managing the revisions that your checked-out
1193 sources are based upon (both per-directory and per-file sticky
1196 * The "cvs -n commit" command now works, to show which files are
1197 out-of-date and will cause the real commit to fail, or which files
1198 will fail any pre-commit checks. Also, the "cvs -n import ..."
1199 command will now show you what it would've done without actually
1202 * Doing "cvs commit modules" to checkin the modules file will no
1203 properly run the "mkmodules" program (assuming you have setup your
1204 $CVSROOT/CVSROOT/modules file to do so).
1206 * The -t option in the modules file (which specifies a program to
1207 run when you do a "cvs rtag" operation on a module) now gets the
1208 symbolic tag as the second argument when invoked.
1210 * When the source repository is locked by another user, that user's
1211 login name will be displayed as the holder of the lock.
1213 * Doing "cvs checkout module/file.c" now works even if
1214 module/file.c is in the Attic (has been removed from main-line
1217 * Doing "cvs commit */Makefile" now works as one would expect.
1218 Rather than trying to commit everything recursively, it will now
1219 commit just the files specified.
1221 * The "cvs remove" command is now fully recursive. To schedule a
1222 file for removal, all you have to do is "rm file" and "cvs rm".
1223 With no arguments, "cvs rm" will schedule all files that have been
1224 physically removed for removal from the source repository at the
1227 * The "cvs tag" command now prints "T file" for each file that was
1228 tagged by this invocation and "D file" for each file that had the
1229 tag removed (as with "cvs tag -d").
1231 * The -a option has been added to "cvs rtag" to force it to clean
1232 up any old, matching tags for files that have been removed (in the
1233 Attic) that may not have been touched by this tag operation. This
1234 can help keep a consistent view with your tag, even if you re-use
1237 Sat Feb 29 16:02:05 1992 Brian Berliner (berliner at sun.com)
1239 * Changes between CVS 1.3 Beta-2 and CVS 1.3 Beta-3
1241 * Many portability fixes, thanks to all the Beta testers! With any
1242 luck, this Beta release will compile correctly on most anything.
1243 Hey, what are we without our dreams.
1245 * CVS finally has support for doing isolated development on a
1246 branch off the current (or previous!) revisions. This is also
1247 extremely nice for generating patches for previously released
1248 software while development is progressing on the next release.
1249 Here's an example of creating a branch to fix a patch with the 2.0
1250 version of the "foo" module, even though we are already well into
1251 the 3.0 release. Do:
1253 % cvs rtag -b -rFOO_2_0 FOO_2_0_Patch foo
1254 % cvs checkout -rFOO_2_0_Patch foo
1259 A physical branch will be created in the RCS file only when you
1260 actually commit the change. As such, forking development at some
1261 random point in time is extremely light-weight -- requiring just a
1262 symbolic tag in each file until a commit is done. To fork
1263 development at the currently checked out sources, do:
1265 % cvs tag -b Personal_Hack
1266 % cvs update -rPersonal_Hack
1270 Now, if you decide you want the changes made in the Personal_Hack
1271 branch to be merged in with other changes made in the main-line
1272 development, you could do:
1274 % cvs commit # to make Personal_Hack complete
1275 % cvs update -A # to update sources to main-line
1276 % cvs update -jPersonal_Hack # to merge Personal_Hack
1278 to update your checked-out sources, or:
1280 % cvs checkout -jPersonal_Hack module
1282 to checkout a fresh copy.
1284 To support this notion of forked development, CVS reserves
1285 all even-numbered branches for its own use. In addition, CVS
1286 reserves the ".0" and ".1" branches. So, if you intend to do your
1287 own branches by hand with RCS, you should use odd-numbered branches
1288 starting with ".3", as in "1.1.3", "1.1.5", 1.2.9", ....
1290 * The "cvs commit" command now supports a fully functional -r
1291 option, allowing you to commit your changes to a specific numeric
1292 revision or symbolic tag with full consistency checks. Numeric
1293 tags are useful for bringing your sources all up to some revision
1298 For symbolic tags, you can only commit to a tag that references a
1299 branch in the RCS file. One created by "cvs rtag -b" or from
1300 "cvs tag -b" is appropriate (see below).
1302 * Roland Pesch <pesch@cygnus.com> and K. Richard Pixley
1303 <rich@cygnus.com> were kind enough to contribute two new manual
1304 pages for CVS: cvs(1) and cvs(5). Most of the new CVS 1.3 features
1305 are now documented, with the exception of the new branch support
1306 added to commit/rtag/tag/checkout/update.
1308 * The -j options of checkout/update have been added. The "cvs join"
1309 command has been removed.
1311 With one -j option, CVS will merge the changes made between the
1312 resulting revision and the revision that it is based on (e.g., if
1313 the tag refers to a branch, CVS will merge all changes made in
1314 that branch into your working file).
1316 With two -j options, CVS will merge in the changes between the two
1317 respective revisions. This can be used to "remove" a certain delta
1318 from your working file. E.g., If the file foo.c is based on
1319 revision 1.6 and I want to remove the changes made between 1.3 and
1322 % cvs update -j1.5 -j1.3 foo.c # note the order...
1324 In addition, each -j option can contain on optional date
1325 specification which, when used with branches, can limit the chosen
1326 revision to one within a specific date. An optional date is
1327 specified by adding a colon (:) to the tag, as in:
1329 -jSymbolic_Tag:Date_Specifier
1331 An example might be what "cvs import" tells you to do when you have
1332 just imported sources that have conflicts with local changes:
1334 % cvs checkout -jTAG:yesterday -jTAG module
1336 which tells CVS to merge in the changes made to the branch
1337 specified by TAG in the last 24 hours. If this is not what is
1338 intended, substitute "yesterday" for whatever format of date that
1339 is appropriate, like:
1341 % cvs checkout -jTAG:'1 week ago' -jTAG module
1343 * "cvs diff" now supports the special tags "BASE" and "HEAD". So,
1346 % cvs diff -u -rBASE -rHEAD
1348 will effectively show the changes made by others (in unidiff
1349 format) that will be merged into your working sources with your
1350 next "cvs update" command. "-rBASE" resolves to the revision that
1351 your working file is based on. "-rHEAD" resolves to the current
1352 head of the branch or trunk that you are working on.
1354 * The -P option of "cvs checkout" now means to Prune empty
1355 directories, as with "update". The default is to not remove empty
1356 directories. However, if you do "checkout" with any -r options, -P
1357 will be implied. I.e., checking out with a tag will cause empty
1358 directories to be pruned automatically.
1360 * The new file INSTALL describes how to install CVS, including
1361 detailed descriptions of interfaces to "configure".
1363 * The example loginfo file in examples/loginfo has been updated to
1364 use the perl script included in contrib/log.pl. The nice thing
1365 about this log program is that it records the revision numbers of
1366 your change in the log message.
1368 Example files for commitinfo and rcsinfo are now included in the
1371 * All "#if defined(__STDC__) && __STDC__ == 1" lines have been
1372 changed to be "#if __STDC__" to fix some problems with the former.
1374 * The lib/regex.[ch] files have been updated to the 1.3 release of
1375 the GNU regex package.
1377 * The ndbm emulation routines included with CVS 1.3 Beta-2 in the
1378 src/ndbm.[ch] files has been moved into the src/myndbm.[ch] files
1379 to avoid any conflict with the system <ndbm.h> header file. If
1380 you had a previous CVS 1.3 Beta release, you will want to "cvs
1381 remove ndbm.[ch]" form your copy of CVS as well.
1383 * "cvs add" and "cvs remove" are a bit more verbose, telling you
1384 what to do to add/remove your file permanently.
1386 * We no longer mess with /dev/tty in "commit" and "add".
1388 * More things are quiet with the -Q option set.
1390 * New src/config.h option: If CVS_BADROOT is set, CVS will not
1391 allow people really logged in as "root" to commit changes.
1393 * "cvs diff" exits with a status of 0 if there were no diffs, 1 if
1394 there were diffs, and 2 if there were errors.
1396 * "cvs -n diff" is now supported so that you can still run diffs
1397 even while in the middle of committing files.
1399 * Handling of the CVS/Entries file is now much more robust.
1401 * The default file ignore list now includes "*.so".
1403 * "cvs import" did not expand '@' in the log message correctly. It
1404 does now. Also, import now uses the ignore file facility
1407 Import will now tell you whether there were conflicts that need to
1408 be resolved, and how to resolve them.
1410 * "cvs log" has been changed so that you can "log" things that are
1411 not a part of the current release (in the Attic).
1413 * If you don't change the editor message on commit, CVS now prompts
1414 you with the choice:
1416 !)reuse this message unchanged for remaining dirs
1418 which allows you to tell CVS that you have no intention of changing
1419 the log message for the remainder of the commit.
1421 * It is no longer necessary to have CVSROOT set if you are using
1422 the -H option to get Usage information on the commands.
1424 * Command argument changes:
1425 checkout: -P handling changed as described above.
1426 New -j option (up to 2 can be specified)
1427 for doing rcsmerge kind of things on
1429 commit: -r option now supports committing to a
1430 numeric or symbolic tags, with some
1431 restrictions. Full consistency checks will
1433 Added "-f logfile" option, which tells
1434 commit to glean the log message from the
1435 specified file, rather than invoking the
1437 rtag: Added -b option to create a branch tag,
1438 useful for creating a patch for a previous
1439 release, or for forking development.
1440 tag: Added -b option to create a branch tag,
1441 useful for creating a patch for a previous
1442 release, or for forking development.
1443 update: New -j option (up to 2 can be specified)
1444 for doing rcsmerge kind of things on
1447 Thu Jan 9 10:51:35 MST 1992 Jeff Polk (polk at BSDI.COM)
1449 * Changes between CVS 1.3 Beta-1 and CVS 1.3 Beta-2
1451 * Thanks to K. Richard Pixley at Cygnus we now have function
1452 prototypes in all the files
1454 * Some small changes to configure for portability. There have
1455 been other portability problems submitted that have not been fixed
1456 (Brian will be working on those). Additionally all __STDC__
1457 tests have been modified to check __STDC__ against the constant 1
1458 (this is what the Second edition of K&R says must be true).
1460 * Lots of additional error checking for forked processes (run_exec)
1461 (thanks again to K. Richard Pixley)
1463 * Lots of miscellaneous bug fixes - including but certainly not
1465 various commit core dumps
1466 various update core dumps
1467 bogus results from status with numeric sticky tags
1468 commitprog used freed memory
1469 Entries file corruption caused by No_Difference
1470 commit to revision broken (now works if branch exists)
1471 ignore file processing broken for * and !
1472 ignore processing didn't handle memory reasonably
1473 miscellaneous bugs in the recursion processor
1474 file descriptor leak in ParseInfo
1475 CVSROOT.adm->CVSROOT rename bug
1478 * Reformatted all the code in src (with GNU indent) and then
1479 went back and fixed prototypes, etc since indent gets confused. The
1480 rationale is that it is better to do it sooner than later and now
1481 everything is consistent and will hopefully stay that way.
1482 The basic options to indent were: "-bad -bbb -bap -cdb -d0 -bl -bli0
1483 -nce -pcs -cs -cli4 -di1 -nbc -psl -lp -i4 -ip4 -c41" and then
1484 miscellaneous formatting fixes were applied. Note also that the
1485 "-nfc1" or "-nfca" may be appropriate in files where comments have
1486 been carefully formatted (e.g, modules.c).
1488 Sat Dec 14 20:35:22 1991 Brian Berliner (berliner at sun.com)
1490 * Changes between CVS 1.2 and CVS 1.3 Beta are described here.
1492 * Lots of portability work. CVS now uses the GNU "configure"
1493 script to dynamically determine the features provided by your
1494 system. It probably is not foolproof, but it is better than
1495 nothing. Please let me know of any portability problems. Some
1496 file names were changed to fit within 14-characters.
1498 * CVS has a new RCS parser that is much more flexible and
1499 extensible. It should read all known RCS ",v" format files.
1501 * Most of the commands now are fully recursive, rather than just
1502 operating on the current directory alone. This includes "commit",
1503 which makes it real easy to do an "atomic" commit of all the
1504 changes made to a CVS hierarchy of sources. Most of the commands
1505 also correctly handle file names that are in directories other than
1506 ".", including absolute path names. Commands now accept the "-R"
1507 option to force recursion on (though it is always the default now)
1508 and the "-l" option to force recursion off, doing just "." and not
1509 any sub-directories.
1511 * CVS supports many of the features provided with the RCS 5.x
1512 distribution - including the new "-k" keyword expansion options. I
1513 recommend using RCS 5.x (5.6 is the current official RCS version)
1514 and GNU diff 1.15 (or later) distributions with CVS.
1516 * Checking out files with symbolic tags/dates is now "sticky", in
1517 that CVS remembers the tag/date used for each file (and directory)
1518 and will use that tag/date automatically on the next "update" call.
1519 This stickyness also holds for files checked out with the the new
1520 RCS 5.x "-k" options.
1522 * The "cvs diff" command now recognizes all of the rcsdiff 5.x
1523 options. Unidiff format is available by installing the GNU
1524 diff 1.15 distribution.
1526 * The old "CVS.adm" directories created on checkout are now called
1527 "CVS" directories, to look more like "RCS" and "SCCS". Old CVS.adm
1528 directories are automagically converted to CVS directories. The
1529 old "CVSROOT.adm" directory within the source repository is
1530 automagically changed into a "CVSROOT" directory as well.
1532 * Symbolic links in the source repository are fully supported ONLY
1533 if you use RCS 5.6 or later and (of course) your system supports
1536 * A history database has been contributed which maintains the
1537 history of certain CVS operations, as well as providing a wide array
1538 of querying options.
1540 * The "cvs" program has a "-n" option which can be used with the
1541 "update" command to show what would be updated without actually
1542 doing the update, like: "cvs -n update". All usage statements
1543 have been cleaned up and made more verbose.
1545 * The module database parsing has been rewritten. The new format
1546 is compatible with the old format, but with much more
1547 functionality. It allows modules to be created that grab pieces or
1548 whole directories from various different parts of your source
1549 repository. Module-relative specifications are also correctly
1550 recognized now, like "cvs checkout module/file.c".
1552 * A configurable template can be specified such that on a "commit",
1553 certain directories can supply a template that the user must fill
1554 before completing the commit operation.
1556 * A configurable pre-commit checking program can be specified which
1557 will run to verify that a "commit" can happen. This feature can be
1558 used to restrict certain users from changing certain pieces of the
1559 source repository, or denying commits to the entire source
1562 * The new "cvs export" command is much like "checkout", but
1563 establishes defaults suitable for exporting code to others (expands
1564 out keywords, forces the use of a symbolic tag, and does not create
1565 "CVS" directories within the checked out sources.
1567 * The new "cvs import" command replaces the deprecated "checkin"
1568 shell script and is used to import sources into CVS control. It is
1569 also much faster for the first-time import. Some algorithmic
1570 improvements have also been made to reduce the number of
1571 conflicting files on next-time imports.
1573 * The new "cvs admin" command is basically an interface to the
1574 "rcs" program. (Not yet implemented very well).
1576 * Signal handling (on systems with BSD or POSIX signals) is much
1577 improved. Interrupting CVS now works with a single interrupt!
1579 * CVS now invokes RCS commands by direct fork/exec rather than
1580 calling system(3). This improves performance by removing a call to
1581 the shell to parse the arguments.
1583 * Support for the .cvsignore file has been contributed. CVS will
1584 now show "unknown" files as "? filename" as the result of an "update"
1585 command. The .cvsignore file can be used to add files to the
1586 current list of ignored files so that they won't show up as unknown.
1588 * Command argument changes:
1589 cvs: Added -l to turn off history logging.
1590 Added -n to show what would be done without actually
1592 Added -q/-Q for quiet and really quiet settings.
1593 Added -t to show debugging trace.
1594 add: Added -k to allow RCS 5.x -k options to be specified.
1595 admin: New command; an interface to rcs(1).
1596 checkout: Added -A to reset sticky tags/date/options.
1597 Added -N to not shorten module paths.
1598 Added -R option to force recursion.
1599 Changed -p (prune empty directories) to -P option.
1600 Changed -f option; forcing tags match is now default.
1601 Added -p option to checkout module to standard output.
1602 Added -s option to cat the modules db with status.
1603 Added -d option to checkout in the specified directory.
1604 Added -k option to use RCS 5.x -k support.
1605 commit: Removed -a option; use -l instead.
1607 Added -l option to disable recursion.
1608 Added -R option to force recursion.
1609 If no files specified, commit is recursive.
1610 diff: Now recognizes all RCS 5.x rcsdiff options.
1611 Added -l option to disable recursion.
1612 Added -R option to force recursion.
1613 history: New command; displays info about CVS usage.
1614 import: Replaces "checkin" shell script; imports sources
1615 under CVS control. Ignores files on the ignore
1616 list (see -I option or .cvsignore description above).
1617 export: New command; like "checkout", but w/special options
1618 turned on by default to facilitate exporting sources.
1619 join: Added -B option to join from base of the branch;
1620 join now defaults to only joining with the top two
1621 revisions on the branch.
1622 Added -k option for RCS 5.x -k support.
1623 log: Supports all RCS 5.x options.
1624 Added -l option to disable recursion.
1625 Added -R option to force recursion.
1626 patch: Changed -f option; forcing tags match is now default.
1627 Added -c option to force context-style diffs.
1628 Added -u option to support unidiff-style diffs.
1629 Added -V option to support RCS specific-version
1630 keyword expansion formats.
1631 Added -R option to force recursion.
1632 remove: No option changes. It's a bit more verbose.
1633 rtag: Equivalent to the old "cvs tag" command.
1634 No option changes. It's a lot faster for re-tag.
1635 status: New output formats with more information.
1636 Added -l option to disable recursion.
1637 Added -R option to force recursion.
1638 Added -v option to show symbolic tags for files.
1639 tag: Functionality changed to tag checked out files
1640 rather than modules; use "rtag" command to get the
1641 old "cvs tag" behaviour.
1642 update: Added -A to reset sticky tags/date/options.
1643 Changed -p (prune empty directories) to -P option.
1644 Changed -f option; forcing tags match is now default.
1645 Added -p option to checkout module to standard output.
1646 Added -I option to add files to the ignore list.
1647 Added -R option to force recursion.
1651 * Jeff Polk <polk@bsdi.com> rewrote most of the grody code of CVS
1652 1.2. He made just about everything dynamic (by using malloc),
1653 added a generic hashed list manager, re-wrote the modules database
1654 parsing in a compatible - but extended way, generalized directory
1655 hierarchy recursion for virtually all the commands (including
1656 commit!), generalized the loginfo file to be used for pre-commit
1657 checks and commit templates, wrote a new and flexible RCS parser,
1658 fixed an uncountable number of bugs, and helped in the design of
1659 future CVS features. If there's anything gross left in CVS, it's
1662 * David G. Grubbs <dgg@odi.com> contributed the CVS "history" and
1663 "release" commands. As well as the ever-so-useful "-n" option of
1664 CVS which tells CVS to show what it would do, without actually
1665 doing it. He also contributed support for the .cvsignore file.
1667 * Paul Sander, HaL Computer Systems, Inc. <paul@hal.com> wrote and
1668 contributed the code in lib/sighandle.c. I added support for
1669 POSIX, BSD, and non-POSIX/non-BSD systems.
1671 * Free Software Foundation contributed the "configure" script and
1672 other compatibility support in the "lib" directory, which will help
1673 make CVS much more portable.
1675 * Many others have contributed bug reports and enhancement requests.
1676 Some have even submitted actual code which I have not had time yet
1677 to integrate into CVS. Maybe for the next release.
1679 * Thanks to you all!
1681 Wed Feb 6 10:10:58 1991 Brian Berliner (berliner at sun.com)
1683 * Changes from CVS 1.0 Patchlevel 1 to CVS 1.0 Patchlevel 2; also
1684 known as "Changes from CVS 1.1 to CVS 1.2".
1686 * Major new support with this release is the ability to use the
1687 recently-posted RCS 5.5 distribution with CVS 1.2. See below for
1688 other assorted bug-fixes that have been thrown in.
1690 * ChangeLog (new): Added Emacs-style change-log file to CVS 1.2
1691 release. Chronological description of changes between release.
1693 * README: Small fixes to installation instructions. My email
1694 address is now "berliner@sun.com".
1696 * src/Makefile: Removed "rcstime.h". Removed "depend" rule.
1698 * src/partime.c: Updated to RCS 5.5 version with hooks for CVS.
1699 * src/maketime.c: Updated to RCS 5.5 version with hooks for CVS.
1700 * src/rcstime.h: Removed from the CVS 1.2 distribution.
1701 Thanks to Paul Eggert <eggert@twinsun.com> for these changes.
1703 * src/checkin.csh: Support for RCS 5.5 parsing.
1704 Thanks to Paul Eggert <eggert@twinsun.com> for this change.
1706 * src/collect_sets.c (Collect_Sets): Be quieter if "-f" option is
1707 specified. When checking out files on-top-of other files that CVS
1708 doesn't know about, run a diff in the hopes that they are really
1709 the same file before aborting.
1711 * src/commit.c (branch_number): Fix for RCS 5.5 parsing.
1712 Thanks to Paul Eggert <eggert@twinsun.com> for this change.
1714 * src/commit.c (do_editor): Bug fix - fprintf missing argument
1715 which sometimes caused core dumps.
1717 * src/modules.c (process_module): Properly NULL-terminate
1718 update_dir[] in all cases.
1720 * src/no_difference.c (No_Difference): The wrong RCS revision was
1721 being registered in certain (strange) cases.
1723 * src/patch.c (get_rcsdate): New algorithm. No need to call
1724 maketime() any longer.
1725 Thanks to Paul Eggert <eggert@twinsun.com> for this change.
1727 * src/patchlevel.h: Increased patch level to "2".
1729 * src/subr.c (isdir, islink): Changed to compare stat mode bits
1732 * src/tag.c (tag_file): Added support for following symbolic links
1733 that are in the master source repository when tagging. Made tag
1734 somewhat quieter in certain cases.
1736 * src/update.c (update_process_lists): Unlink the user's file if it
1737 was put on the Wlist, meaning that the user's file is not modified
1738 and its RCS file has been removed by someone else.
1740 * src/update.c (update): Support for "cvs update dir" to correctly
1741 just update the argument directory "dir".
1743 * src/cvs.h: Fixes for RCS 5.5 parsing.
1744 * src/version_number.c (Version_Number): Fixes for parsing RCS 5.5
1745 and older RCS-format files.
1746 Thanks to Paul Eggert <eggert@twinsun.com> for these changes.
1748 * src/version_number.c (Version_Number): Bug fixes for "-f" option.
1749 Bug fixes for parsing with certain branch numbers. RCS
1750 revision/symbol parsing is much more solid now.
1752 Wed Feb 14 10:01:33 1990 Brian Berliner (berliner at sun.com)
1754 * Changes from CVS 1.0 Patchlevel 0 to CVS 1.0 Patchlevel 1; also
1755 known as "Changes from CVS 1.0 to CVS 1.1".
1757 * src/patch.c (get_rcsdate): Portability fix. Replaced call to
1758 timelocal() with call to maketime().
1760 Mon Nov 19 23:15:11 1990 Brian Berliner (berliner at prisma.com)
1762 * Sent CVS 1.0 release to comp.sources.unix moderator and FSF.
1764 * Special thanks to Dick Grune <dick@cs.vu.nl> for his work on the
1765 1986 version of CVS and making it available to the world. Dick's
1766 version is available on uunet.uu.net in the
1767 comp.sources.unix/volume6/cvs directory.