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