Home | History | Annotate | Line # | Download | only in src
      1  1.1  christos Thu Sep 15 08:20:23 1994  Jim Kingdon  (kingdon (a] lioth.cygnus.com)
      2  1.1  christos  
      3  1.1  christos 	* subr.c (run_setup, run_args): Check USE_PROTOTYPES if defined
      4  1.1  christos 	instead of __STDC__, just like cvs.h does.
      5  1.1  christos 
      6  1.1  christos Thu Sep 15 00:14:58 1994  david d `zoo' zuhn  <zoo (a] monad.armadillo.com>
      7  1.1  christos 
      8  1.1  christos 	* main.c: rename nocvsrc to use_cvsrc, don`t read ~/.cvsrc when -H
      9  1.1  christos 	  has been seen
     10  1.1  christos 
     11  1.1  christos Wed Sep 14 21:55:17 1994  david d `zoo' zuhn  <zoo (a] monad.armadillo.com>
     12  1.1  christos 
     13  1.1  christos 	* cvs.h, subr.c: use size_t for xmalloc, xrealloc, and xstrdup
     14  1.1  christos 	  parameters
     15  1.1  christos 
     16  1.1  christos 	* cvsrc.c: optimize away two calls of getenv
     17  1.1  christos 
     18  1.1  christos 	* commit.c, subr.c: use mode_t for file mode values (Thanks to jtc (a] cygnus.com)
     19  1.1  christos 
     20  1.1  christos 	* main.c: update copyrights in -v message
     21  1.1  christos 
     22  1.1  christos Tue Sep  6 10:29:13 1994  J.T. Conklin  (jtc (a] rtl.cygnus.com)
     23  1.1  christos 
     24  1.1  christos 	* hash.c (hashp): Replace hash function with one from p436 of the
     25  1.1  christos 	  Dragon book (via libg++'s hash.cc) which has *much* better
     26  1.1  christos 	  behavior.
     27  1.1  christos 
     28  1.1  christos Wed Aug 17 09:37:44 1994  J.T. Conklin  (jtc (a] cygnus.com)
     29  1.1  christos 
     30  1.1  christos 	* find_names.c (find_dirs): Use 4.4BSD filesystem feature (it
     31  1.1  christos 	  contains the file type in the dirent structure) to avoid
     32  1.1  christos 	  stat'ing each file.
     33  1.1  christos 
     34  1.1  christos Tue Aug 16 11:15:12 1994  J.T. Conklin  (jtc (a] cygnus.com)
     35  1.1  christos 
     36  1.1  christos 	* rcs.h (struct rcsnode): add symbols_data field.
     37  1.1  christos 	* rcs.c (RCS_parsercsfile_i): store value of rcs symbols in
     38  1.1  christos 	  symbols_data instead of parsing it.
     39  1.1  christos 	  (RCS_symbols): New function used for lazy symbols parsing.
     40  1.1  christos 	  Build a list out of symbols_data and store it in symbols if it
     41  1.1  christos 	  hasn't been done already, and return the list of symbols.
     42  1.1  christos 	  (RCS_gettag, RCS_magicrev, RCS_nodeisbranch, RCS_whatbranch):
     43  1.1  christos 	  Use RCS_symbols.
     44  1.1  christos 	* status.c: (status_fileproc): Use RCS_symbols.
     45  1.1  christos 
     46  1.1  christos Thu Jul 14 13:02:51 1994  david d `zoo' zuhn  (zoo (a] monad.armadillo.com)
     47  1.1  christos 
     48  1.1  christos 	* src/diff.c (diff_fileproc): add support for "cvs diff -N" which
     49  1.1  christos 	  allows for adding or removing files via patches. (from
     50  1.1  christos 	  K. Richard Pixley <rich (a] cygnus.com>)
     51  1.1  christos 
     52  1.1  christos Wed Jul 13 10:52:56 1994  J.T. Conklin  (jtc (a] phishhead.cygnus.com)
     53  1.1  christos 
     54  1.1  christos 	* cvs.h: Add macro CVSRFLPAT, a string containing a shell wildcard
     55  1.1  christos 	  expression that matches read lock files.
     56  1.1  christos 	* lock.c (readers_exist): Reorganized to use CVSRFLPAT and to not
     57  1.1  christos 	  compute the full pathname unless the file matches.
     58  1.1  christos 
     59  1.1  christos 	* rcs.h: Add macro RCSPAT, a string containing a shell wildcard
     60  1.1  christos 	  expression that matches RCS files.
     61  1.1  christos 	* find_names.c (find_rcs, find_dirs): Use RCSPAT.
     62  1.1  christos 
     63  1.1  christos Fri Jul  8 07:02:08 1994  Jim Kingdon  (kingdon (a] lioth.cygnus.com)
     64  1.1  christos 
     65  1.1  christos 	* entries.c (Register): Pass two arguments to write_ent_proc, in
     66  1.1  christos 	accordance with its declaration.
     67  1.1  christos 
     68  1.1  christos Thu Jun 30 09:08:57 1994  Jim Kingdon  (kingdon (a] lioth.cygnus.com)
     69  1.1  christos 
     70  1.1  christos 	* logmsg.c (do_editor): Fix typo ("c)continue" -> "c)ontinue").
     71  1.1  christos 
     72  1.1  christos Thu Jun 23 18:28:12 1994  J.T. Conklin  (jtc (a] phishhead.cygnus.com)
     73  1.1  christos 
     74  1.1  christos         * find_names.c (find_rcs, find_dirs): use fnmatch instead of
     75  1.1  christos         re_comp/re_exec for wildcard matching.
     76  1.1  christos         * lock.c (readers_exist): Likewise.
     77  1.1  christos 
     78  1.1  christos Fri May 20 08:13:10 1994  Jim Kingdon  (kingdon (a] lioth.cygnus.com)
     79  1.1  christos 
     80  1.1  christos 	* modules.c (do_module): If something is aliased to itself, print
     81  1.1  christos 	an error message rather than recursing.
     82  1.1  christos 
     83  1.1  christos Fri May  6 19:25:28 1994  david d zuhn  (zoo (a] monad.armadillo.com)
     84  1.1  christos 
     85  1.1  christos 	* cvsrc.c (read_cvsrc): use open_file for error checking
     86  1.1  christos 
     87  1.1  christos Sat Feb 26 10:59:37 1994  david d zuhn  (zoo (a] monad.armadillo.com)
     88  1.1  christos 
     89  1.1  christos         * import.c: use $TMPDIR if available, instead of relying on /tmp
     90  1.1  christos 
     91  1.1  christos Mon Jan 24 19:10:03 1994  david d zuhn  (zoo (a] monad.armadillo.com)
     92  1.1  christos 
     93  1.1  christos 	* update.c (joining): compare join_rev1 with NULL instead of
     94  1.1  christos 	  casting pointer to an int
     95  1.1  christos 
     96  1.1  christos 	* options.h: remove S_IWRITE, S_IWGRP, S_IWOTH macros
     97  1.1  christos 
     98  1.1  christos 	* logmsg.c: #if 0 around gethostbyname prototype
     99  1.1  christos 
    100  1.1  christos 	* hash.c (printnode), find_names.c (add_entries_proc),
    101  1.1  christos 	  entries.c (write_ent_proc): correct declaration for function
    102  1.1  christos 	  (added void *closure)
    103  1.1  christos 
    104  1.1  christos 	* cvs.h: header include order reorganization: First include the
    105  1.1  christos 	  program config headers (config.h, options.h).  Then include any
    106  1.1  christos 	  system headers (stdio.h, unistd.h).  Last, get the program
    107  1.1  christos 	  headers and any cvs supplied library support
    108  1.1  christos 
    109  1.1  christos 	* commit.c: use xstrdup instead of strdup
    110  1.1  christos 
    111  1.1  christos 	* cvs.h: redefined USE(var) macro; comment after an #endif
    112  1.1  christos 
    113  1.1  christos 	* all .c files: remove the semicolon from after the USE(var)
    114  1.1  christos 
    115  1.1  christos Sat Dec 18 00:17:27 1993  david d zuhn  (zoo (a] monad.armadillo.com)
    116  1.1  christos 
    117  1.1  christos 	* cvs.h: include errno.h if available, otherwise declare errno if
    118  1.1  christos 	  it's not somehow else defined
    119  1.1  christos 
    120  1.1  christos 	* commit.c (checkaddfile): remove unused file argument from
    121  1.1  christos 	  RCS_nodeisbranch call
    122  1.1  christos 
    123  1.1  christos 	* rcs.c (RCS_nodeisbranch): remove file from arguments (was unused)
    124  1.1  christos 
    125  1.1  christos 	* rcs.h (RCS_nodeisbranch): remove file from prototype
    126  1.1  christos 
    127  1.1  christos 	* main.c: don't use rcsid when printing version number (the CVS
    128  1.1  christos 	  version number is independent of the repository that it comes
    129  1.1  christos 	  from)
    130  1.1  christos 
    131  1.1  christos 	* hash.c (printlist, printnode): use %p to print pointers, not %x
    132  1.1  christos 	  (avoids gcc format warnings)
    133  1.1  christos 
    134  1.1  christos 	* cvs.h: define USE if GCC 2, to avoid unused variable warning
    135  1.1  christos 
    136  1.1  christos 	* all .c files: use USE(rcsid)
    137  1.1  christos 
    138  1.1  christos 	* Makefile.in (VPATH): don't use $(srcdir), but @srcdir@ instead
    139  1.1  christos 	  (COMMON_OBJECTS): define, and use in several places
    140  1.1  christos 	  (OBJECTS): reorder alphabetically
    141  1.1  christos 
    142  1.1  christos 	* hash.c (nodetypestring): handle default return value better
    143  1.1  christos 
    144  1.1  christos 	* modules.c (do_module): remove extra argument to ign_dir_add
    145  1.1  christos 
    146  1.1  christos 	* main.c (main): initialize cvs_update_env to 0 (zero)
    147  1.1  christos 
    148  1.1  christos 	* modules.c (do_module): return error code when ignoring directory
    149  1.1  christos 	  (instead of a bare return).  error code should be zero here
    150  1.1  christos 
    151  1.1  christos 	* cvs.h: add prototypes for ignore_directory, ign_dir_add
    152  1.1  christos 
    153  1.1  christos 	* ignore.c: add comments about ignore_directory
    154  1.1  christos 
    155  1.1  christos 	* root.c (Name_Root): remove unused variables has_cvsadm and path
    156  1.1  christos 
    157  1.1  christos 	* checkin.c (Checkin): only use -m<message> when message is non-NULL
    158  1.1  christos 
    159  1.1  christos 	* cvsrc.c (read_cvsrc): make sure homeinit is never used while
    160  1.1  christos 	  uninitialized (could have happened if getenv("HOME") had failed)
    161  1.1  christos 
    162  1.1  christos 	* cvs.h: include unistd.h if available
    163  1.1  christos 
    164  1.1  christos Fri Dec 17 23:54:58 1993  david d zuhn  (zoo (a] monad.armadillo.com)
    165  1.1  christos 
    166  1.1  christos 	* all files: now use strchr, strrchr, and memset instead of index,
    167  1.1  christos 	  rindex, and bzero respectively
    168  1.1  christos 
    169  1.1  christos Sat Dec 11 09:50:03 1993  david d zuhn  (zoo (a] monad.armadillo.com)
    170  1.1  christos 
    171  1.1  christos 	* version.c (version_string): bump to +104z
    172  1.1  christos 
    173  1.1  christos 	* Makefile.in: set standard directory variables, CC, and other
    174  1.1  christos 	  variables needed to be able to do 'make all' in this directory
    175  1.1  christos 
    176  1.1  christos 	* import.c: implement -k<subst> options, for setting the RCS
    177  1.1  christos 	  keyword expansion mode
    178  1.1  christos 
    179  1.1  christos 	* all files: use PROTO() macro for ANSI function prototypes
    180  1.1  christos 	  instead of #ifdef __STDC__/#else/#endif around two sets of
    181  1.1  christos 	  declarations
    182  1.1  christos 
    183  1.1  christos Thu Nov 18 19:02:51 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    184  1.1  christos 
    185  1.1  christos 	* add.c (add), import.c (import), commit.c (commit): change
    186  1.1  christos 	  xmalloc & strcpy to xstrdup.
    187  1.1  christos 
    188  1.1  christos 	* commit.c (remove_file): correct another static buffer problem.
    189  1.1  christos 
    190  1.1  christos Wed Nov 10 15:01:34 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    191  1.1  christos 
    192  1.1  christos 	* recurse.c (start_recursion): directories in repository but not
    193  1.1  christos 	  in working directory should be added to dirlist.  Fixes "update
    194  1.1  christos 	  -d dir" case.
    195  1.1  christos 
    196  1.1  christos 	* version.c (version_string): bump to +103r.
    197  1.1  christos 
    198  1.1  christos 	* commit.c (checkaddfile): mkdir attic only if it does not already
    199  1.1  christos 	  exist.  comment changes.  changed diagnostic about adding on a
    200  1.1  christos 	  branch.  if a file is added on a branch, remove and replace the
    201  1.1  christos 	  internal representation of that rcs file.
    202  1.1  christos 
    203  1.1  christos Tue Nov  9 18:02:01 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    204  1.1  christos 
    205  1.1  christos 	* add.c (add): if a file is being added on a branch, then say so;
    206  1.1  christos 	  add quotes around file names in error messages.
    207  1.1  christos 
    208  1.1  christos Thu Nov  4 16:58:33 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    209  1.1  christos 
    210  1.1  christos 	* version.c (version_string): bump to +102r.
    211  1.1  christos 
    212  1.1  christos 	* recurse.c (unroll_files_proc, addfile): new files, forward
    213  1.1  christos 	  decls, and prototypes.
    214  1.1  christos 	  (recursion_frame): new struct.
    215  1.1  christos 	  (start_recursion): rewrite to handle the case of "file1 file2
    216  1.1  christos 	  dir1/file3".
    217  1.1  christos 
    218  1.1  christos 	* rcs.c (RCS_parsercsfile): trap and error out on the case where
    219  1.1  christos 	  getrcskey tells us it hit an error while reading the file.
    220  1.1  christos 
    221  1.1  christos 	* commit.c (lock_filesdoneproc): add comment about untrapped error
    222  1.1  christos 	  condition.
    223  1.1  christos 
    224  1.1  christos 	* hash.c (addnode): comment change.
    225  1.1  christos 
    226  1.1  christos 	* subr.c: add comment about caching.
    227  1.1  christos 
    228  1.1  christos 	* sanity.sh: updated copyright.
    229  1.1  christos 
    230  1.1  christos Wed Nov  3 14:49:15 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    231  1.1  christos 
    232  1.1  christos 	* version.c (version_string): bump to +101r.
    233  1.1  christos 
    234  1.1  christos 	* hash.c (walklist): add a closure for called routines.  All
    235  1.1  christos 	  callers, callees, and prototypes changed.
    236  1.1  christos 
    237  1.1  christos 	* hash.c (nodetypestring, printnode, printlist): new functions for
    238  1.1  christos 	  dumping lists & nodes.
    239  1.1  christos 
    240  1.1  christos 	* tag.c (tag_fileproc): fatal out on failure to set tag.
    241  1.1  christos 
    242  1.1  christos Tue Nov  2 14:26:38 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    243  1.1  christos 
    244  1.1  christos 	* version.c (version_string): bump version to +99.
    245  1.1  christos 
    246  1.1  christos Mon Nov  1 15:54:51 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    247  1.1  christos 
    248  1.1  christos 	Change buffer allocation for check in messages from static to
    249  1.1  christos 	dynamic.
    250  1.1  christos 	* add.c (add): dynamically allocate message.
    251  1.1  christos 	  (build_entry): check (message != NULL) now that message is a
    252  1.1  christos 	  pointer.
    253  1.1  christos 	* commit.c (got_message, commit, commit_fileproc,
    254  1.1  christos 	  commit_filesdoneproc, commit_direntproc): removed.  Replaced by
    255  1.1  christos 	  (message != NULL).  Dynamically allocate message.
    256  1.1  christos 	* cvs.h: adjust do_editor prototype and forward decl.
    257  1.1  christos 	  (MAXMESGLEN): removed.
    258  1.1  christos 	* import.c (import): dynamically allocate message.
    259  1.1  christos 	* logmsg.c (do_editor): change return type to char *.  Remove
    260  1.1  christos 	  message parameter.  Slight optimization to algorythm for
    261  1.1  christos 	  removing CVSEDITPREFIX lines.  Add comment about fgets lossage.
    262  1.1  christos 
    263  1.1  christos 	* subr.c (xmalloc): change error message to print number of bytes
    264  1.1  christos 	  we were attempting to allocate.
    265  1.1  christos 
    266  1.1  christos Fri Oct 29 14:22:02 1993  K. Richard Pixley  (rich (a] sendai.cygnus.com)
    267  1.1  christos 
    268  1.1  christos 	* add.c (add): prevent adding a directory if there exists a dead
    269  1.1  christos 	  file of the same name.
    270  1.1  christos 
    271  1.1  christos 	* sanity.sh: update argument to diff from "+ignore-file" to
    272  1.1  christos 	  "--exclude=".
    273  1.1  christos 
    274  1.1  christos 	* Makefile.in (TAGS): extend to work from an objdir.
    275  1.1  christos 
    276  1.1  christos Mon Oct 18 18:45:45 1993  david d `zoo' zuhn  (zoo (a] rtl.cygnus.com)
    277  1.1  christos 
    278  1.1  christos 	*  tag.c, rtag.c: change the default actions to make writing over
    279  1.1  christos 	existing tags harder (but not impossible)
    280  1.1  christos 
    281  1.1  christos Thu Oct 14 18:00:53 1993  david d `zoo' zuhn  (zoo (a] rtl.cygnus.com)
    282  1.1  christos 
    283  1.1  christos         CVS/Root changes from Mark Baushke (mdb (a] cisco.com)
    284  1.1  christos 
    285  1.1  christos 	* Makefile.in: added new file called root.c
    286  1.1  christos 
    287  1.1  christos 	* create_adm.c: will create CVS/Root at the same time that the
    288  1.1  christos         other CVS files are being created
    289  1.1  christos 
    290  1.1  christos 	* cvs.h: new CVSADM_ROOT define plus new function externs
    291  1.1  christos 
    292  1.1  christos 	* main.c: default to using CVS/Root contents for CVSROOT 
    293  1.1  christos 	if neither the environment variable or the command line 
    294  1.1  christos 	"-d" switch is given. If either are given, perform a
    295  1.1  christos 	sanity check that this directory belongs to that repository.
    296  1.1  christos 
    297  1.1  christos 	* update.c: if CVS/Root does not exist, then create it
    298  1.1  christos 	during an update -- this may be removed if CVS/Root becomes a
    299  1.1  christos 	standard feature
    300  1.1  christos 
    301  1.1  christos 	* root.c: implement new functions to manipulate CVS/Root
    302  1.1  christos 	[this may be integrated with other utility functions in
    303  1.1  christos 	a future revision if CVS/Root becomes a standard feature.]
    304  1.1  christos 
    305  1.1  christos Wed Sep 29 17:01:40 1993  david d `zoo' zuhn  (zoo (a] rtl.cygnus.com)
    306  1.1  christos 
    307  1.1  christos 	* patch.c (patch_fileproc): output an Index: line for each file
    308  1.1  christos 
    309  1.1  christos Mon Sep  6 18:40:22 1993  david d `zoo' zuhn  (zoo (a] rtl.cygnus.com)
    310  1.1  christos 
    311  1.1  christos 	* cvs.h: wrap definition of PATH_MAX in #ifndef PATH_MAX/#endif
    312  1.1  christos 
    313  1.1  christos Tue Aug  9 21:52:10 1994  Mark Eichin  (eichin (a] cygnus.com)
    314  1.1  christos 
    315  1.1  christos 	* commit.c (remove_file): actually allocate space for the
    316  1.1  christos 	filename, not just the directory.
    317  1.1  christos 
    318  1.1  christos Tue Jul  6 19:05:37 1993  david d `zoo' zuhn  (zoo (a] cygnus.com)
    319  1.1  christos 
    320  1.1  christos 	* diff.c: patches to print an Index: line 
    321  1.1  christos 
    322  1.1  christos Mon Jun 14 12:19:35 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
    323  1.1  christos 
    324  1.1  christos 	* Makefile.in: update install target
    325  1.1  christos 
    326  1.1  christos Tue Jun  1 17:03:05 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
    327  1.1  christos 
    328  1.1  christos 	* Makefile.in: link cvs against libiberty
    329  1.1  christos 
    330  1.1  christos Wed May 19 14:10:34 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
    331  1.1  christos 
    332  1.1  christos 	* ignore.c: add code for keeping lists of directories to ignore.
    333  1.1  christos 
    334  1.1  christos 	* modules.c: new syntax for modules file, !dirname is added to
    335  1.1  christos 	the list of directories to ignore
    336  1.1  christos 	
    337  1.1  christos 	* update.c: don't process directories on the ignore list
    338  1.1  christos 
    339  1.1  christos Tue Apr  6 14:22:48 1993  Ian Lance Taylor  (ian (a] cygnus.com)
    340  1.1  christos 
    341  1.1  christos 	* cvs.h: Removed gethostname prototype, since it is unnecessary
    342  1.1  christos 	and does not match prototype in <unistd.h> on HP/UX.
    343  1.1  christos 
    344  1.1  christos Mon Mar 22 23:25:16 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
    345  1.1  christos 
    346  1.1  christos 	* Makefile.in: rename installtest to installcheck
    347  1.1  christos 
    348  1.1  christos Mon Feb  1 12:53:34 1993  K. Richard Pixley  (rich (a] rtl.cygnus.com)
    349  1.1  christos 
    350  1.1  christos 	* Makefile.in (check, installtest): set RCSBIN so that we
    351  1.1  christos 	  explicitly test the appropriate version of rcs as well.
    352  1.1  christos 
    353  1.1  christos Fri Jan 29 13:37:35 1993  K. Richard Pixley  (rich (a] rtl.cygnus.com)
    354  1.1  christos 
    355  1.1  christos 	* version.c: bump version to +2.
    356  1.1  christos 
    357  1.1  christos Thu Jan 28 18:11:34 1993  K. Richard Pixley  (rich (a] rtl.cygnus.com)
    358  1.1  christos 
    359  1.1  christos 	* import.c (update_rcs_file): if a file was dead, be sure to check
    360  1.1  christos 	  in the new version.
    361  1.1  christos 
    362  1.1  christos 	* update.c (checkout_file): if file_is_dead and we *did* have an
    363  1.1  christos 	  entry, scratch it.
    364  1.1  christos 
    365  1.1  christos Tue Jan 26 16:16:48 1993  K. Richard Pixley  (rich (a] rtl.cygnus.com)
    366  1.1  christos 
    367  1.1  christos 	* sanity.sh: parcel into pieces for easier truncation when
    368  1.1  christos 	  debugging.
    369  1.1  christos 
    370  1.1  christos 	* update.c (checkout_file): print the "no longer pertinent"
    371  1.1  christos 	  message only if there was a user file.
    372  1.1  christos 
    373  1.1  christos Wed Jan 20 17:08:09 1993  K. Richard Pixley  (rich (a] rtl.cygnus.com)
    374  1.1  christos 
    375  1.1  christos 	* update.c (checkout_file): remove unused variable s.
    376  1.1  christos 	  (join_file): remove unused variables rev & baserev.  Fix a typo.
    377  1.1  christos 
    378  1.1  christos 	* commit.c (commit_fileproc): remove unused variable magicbranch.
    379  1.1  christos 
    380  1.1  christos 	* sanity.sh: bring back test 45 even though it fails.  Update
    381  1.1  christos 	  tests against imported files.
    382  1.1  christos 
    383  1.1  christos 	* add.c (add_directory): move declaration of unused variable.
    384  1.1  christos 
    385  1.1  christos 	* Makefile.in (xxx): when building in this directory, pass CC for
    386  1.1  christos 	  the recursion.
    387  1.1  christos 
    388  1.1  christos Mon Jan 18 13:48:33 1993  K. Richard Pixley  (rich (a] cygnus.com)
    389  1.1  christos 
    390  1.1  christos 	* commit.c (remove_file): fix for files removed in trunk
    391  1.1  christos 	  immediately after import.
    392  1.1  christos 
    393  1.1  christos 	* commit.c (remove_file): initialize some variables.  Otherwise we
    394  1.1  christos 	  end up free'ing some rather inconvenient things.
    395  1.1  christos 
    396  1.1  christos Wed Jan 13 15:55:36 1993  K. Richard Pixley  (rich (a] rtl.cygnus.com)
    397  1.1  christos 
    398  1.1  christos 	* Makefile.in (check, install, installtest): use the sanity test.
    399  1.1  christos 
    400  1.1  christos 	* sanity.el: make into real functions and bind to sun keys.
    401  1.1  christos 
    402  1.1  christos 	* sanity.sh: bring back to working order.  Add test for death
    403  1.1  christos 	  after import.
    404  1.1  christos 
    405  1.1  christos Tue Dec 22 17:45:19 1992  K. Richard Pixley  (rich (a] cygnus.com)
    406  1.1  christos 
    407  1.1  christos 	* commit.c (remove_file): when checking in a dead revision to a
    408  1.1  christos 	  branch as we are creating the branch, do not lock the underlying
    409  1.1  christos 	  revision.  Also free some malloc'd memory.
    410  1.1  christos 
    411  1.1  christos Wed Dec  2 13:09:48 1992  K. Richard Pixley  (rich (a] cygnus.com)
    412  1.1  christos 
    413  1.1  christos 	* RCS-patches: new file.
    414  1.1  christos 
    415  1.1  christos Fri Nov 27 20:12:48 1992  K. Richard Pixley  (rich (a] rtl.cygnus.com)
    416  1.1  christos 
    417  1.1  christos 	Added support for adding previously removed files, as well as
    418  1.1  christos 	adding and removing files in branches.
    419  1.1  christos 
    420  1.1  christos 	* add.c (build_entry): add new argument, tag, so as to store in
    421  1.1  christos 	  Entries the per directory sticky tag under which a file is
    422  1.1  christos 	  added.  Changed prototype and caller.
    423  1.1  christos 	  (build_entry): Do not prevent file additions if the file exists
    424  1.1  christos 	  in the Attic.
    425  1.1  christos 	  (add): if the file being adding was previously dead, say so, and
    426  1.1  christos 	  mark the Entries file with the addition.
    427  1.1  christos 	* checkin.c (Checkin): adding with a tag no longer means to add,
    428  1.1  christos 	  then tag.  Hence, remove the tagging operation.
    429  1.1  christos 	* classify.c (Classify_File): if the base RCS version is dead,
    430  1.1  christos 	  then the file is being added.  If a file being added already
    431  1.1  christos 	  exists in the attic, and the base RCS version is NOT dead, then
    432  1.1  christos 	  we have a conflict.
    433  1.1  christos 	* commit.c (checkaddfile): add the list of srcfiles to calling
    434  1.1  christos 	  convention.  Change prototype and callers.
    435  1.1  christos 	  (remove_file): add message and list of srcfiles to calling
    436  1.1  christos 	  convention.  Change prototype and callers.  When removing a file
    437  1.1  christos 	  with a tag, remove the tag only when the tag does not represent
    438  1.1  christos 	  a branch.  Remove files by committing dead revisions in the
    439  1.1  christos 	  appropriate branch.  When removing files from the trunk, also
    440  1.1  christos 	  move the RCS file into the Attic.
    441  1.1  christos 	  (check_fileproc): when adding, and looking for previously
    442  1.1  christos 	  existing RCS files, do not look in the Attic.
    443  1.1  christos 	  (commit_fileproc): adding files with tags now implies adding the
    444  1.1  christos 	  file on a branch with that tag.
    445  1.1  christos 	  (checkaddfile): When adding a file on a branch, in addition to
    446  1.1  christos 	  creating the rcs file in the Attic, also create a dead, initial
    447  1.1  christos 	  revision on the trunk and stub in a magic branch tag.
    448  1.1  christos 	* cvs.h (joining, gca): added prototypes.
    449  1.1  christos 	* rcs.c (RCS_getbranch): now global rather than static.
    450  1.1  christos 	  remove prototype and forward decl.
    451  1.1  christos 	  (parse_rcs_proc): use RCS_addnode.
    452  1.1  christos 	  (RCS_addnode): new function.
    453  1.1  christos 	  (RCS_parsercsfile): recognize the new RCS revision
    454  1.1  christos 	  newphrase, "dead".  Mark the node for the revision.
    455  1.1  christos 	  (RCS_gettag): requesting the head of a file in the attic now
    456  1.1  christos 	  returns the head of the file in the attic rather than NULL.
    457  1.1  christos 	  (RCS_isbranch): use RCS_nodeisbranch.
    458  1.1  christos 	  (RCS_nodeisbranch): new function.
    459  1.1  christos 	  (RCS_isdead): new function.
    460  1.1  christos 	* rcs.h (RCSDEAD): new macro for new rcs keyword.
    461  1.1  christos 	  (struct rcsversnode): new field to flag dead revisions.
    462  1.1  christos 	  (RCS_nodeisbranch, RCS_isdead, RCS_addnode): new functions,
    463  1.1  christos 	  new prototypes, new externs.
    464  1.1  christos 	  (RCS_getbranch): now global, so prototype and extern moved
    465  1.1  christos 	  to here.
    466  1.1  christos 	* subr.c (gca): new function.
    467  1.1  christos 	* update.c (join_file): add entries list to calling
    468  1.1  christos 	  convention.  Caller changed.
    469  1.1  christos 	  (update): also search the Attic when joining. 
    470  1.1  christos 	  (checkout_file): when joining, checkout dead revisions too.  If
    471  1.1  christos 	  a file has died across an update then say so.
    472  1.1  christos 	  (join_file): support joins of dead files against live ones, live
    473  1.1  christos 	  files against dead ones, and added files.  Change the semantic
    474  1.1  christos 	  of a join with only rev specified to mean join specified rev
    475  1.1  christos 	  against checked out files via the greatest common ancestor of
    476  1.1  christos 	  the specified rev and the base rev of the checked out files.
    477  1.1  christos 	  (joining): new function.
    478  1.1  christos 	* vers_ts.c (Version_TS): ALWAYS get the rcs version number.
    479  1.1  christos 
    480  1.1  christos 	* update.c (update): write the 'C' letter for conflicts.
    481  1.1  christos 
    482  1.1  christos 	* cvs.h (ParseTag): remove duplicate extern.
    483  1.1  christos 
    484  1.1  christos 	* add.c (add_directory): do not prompt for interactive
    485  1.1  christos 	  verification before adding a directory.  Doing so prevents
    486  1.1  christos 	  scripted testing.
    487  1.1  christos 
    488  1.1  christos Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich (a] cygnus.com)
    489  1.1  christos 
    490  1.1  christos 	* Makefile.in, configure.in: removed traces of namesubdir,
    491  1.1  christos 	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
    492  1.1  christos 	  copyrights to '92, changed some from Cygnus to FSF.
    493  1.1  christos 
    494  1.1  christos Tue Dec 10 01:24:40 1991  K. Richard Pixley  (rich at cygnus.com)
    495  1.1  christos 
    496  1.1  christos 	* diff.c: do not pass an empty -r option to rcsdiff.
    497  1.1  christos 
    498  1.1  christos 	* update.c: fix bug where return code from rcsmerge wasn't being
    499  1.1  christos 	  handled properly.
    500  1.1  christos 
    501  1.1  christos 	* main.c: "rm" and "delete" now synonyms for "remove".
    502  1.1  christos 
    503  1.1  christos 	* commit.c: abort if editor session fails, but remember to clear
    504  1.1  christos 	  locks.
    505  1.1  christos 
    506  1.1  christos 	* Makefile.in: remove conf.h and checkin.configured on clean.
    507  1.1  christos 	  infodir belongs in datadir.
    508  1.1  christos 
    509  1.1  christos Thu Dec  5 22:46:03 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
    510  1.1  christos 
    511  1.1  christos 	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
    512  1.1  christos 	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
    513  1.1  christos 	  and mandir now keyed off datadir by default.
    514  1.1  christos 
    515  1.1  christos Wed Nov 27 02:47:13 1991  K. Richard Pixley  (rich at sendai)
    516  1.1  christos 
    517  1.1  christos 	* brought Makefile.in's up to standards.text.
    518  1.1  christos 
    519  1.1  christos 	* fresh changelog.
    520  1.1  christos 
    521  1.1  christos 
    523  1.1  christos For older changes, there might be some relevant stuff in the bottom of
    524  1.1  christos the NEWS file, but I'm afraid probably a lot of them are lost in the
    525                mists of time.
    526