home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!caen!spool.mu.edu!mixcom.com!amby
- From: amby <amby@mixcom.mixcom.com>
- Subject: Re: RCS logfile usage
- Organization: Milwaukee Internet Xchange BBS, Milwaukee, WI U.S.A.
- Distribution: usa
- Date: Wed, 18 Nov 1992 15:41:08 GMT
- Message-ID: <1992Nov18.154108.15231@mixcom.com>
- References: <1992Nov17.150301.23707@geac.com>
- Sender: ttvvtt@mixcom.com (Donald Amby)
- Lines: 50
-
- In <1992Nov17.150301.23707@geac.com> adb@geac.com (Anthony DeBoer) writes:
-
- >I'm currently in the process of setting up RCS, and after having tried
- >out various options and various test cases, I'm wondering about the
- >usefulness of the comments log feature versus just keying in change notes
- >in the source directly while editing.
-
- WE use CVS (which is a layer above) RCS. The comments log (what you
- get after the $Log$ tag) is a handy summary of what change was made in
- each revision. This is just a summary that gives an overview (as we
- use it) of the changes. To get a more detailed view, we look at the
- difference listing itself.
-
- >Direct keying lets you note the changes as you make them, while they're
- >fresh in your mind, as opposed to having to remember a summary of what
- >you did, to type in at checkin time. Using the log feature, on the other
- >hand, seems to gain only that the rlog command will list the log
- >comments. A third choice might be keeping the current change notes in a
- >separate file and doing "ci foo.c < foo.notes", but that requires editing
- >multiple files.
-
- If developers want to, they are free to add notes to the actual
- changes that they make. However, it is really not a requirement.
- The idea is to keep all changes and their descriptions a permanent
- part of the source (in the RCS control file).
-
- >Using either feature gives you the comment changes during an rcsdiff, so
- >there's no difference there, and you can always see who changed what and
- >when. Using $Log$ in the source does NOT buy you any log integrity;
- >other than adding the most current comment at checkout time, it does not
- >verify that previous comments are already there or that they haven't been
- >altered or damaged during later editing at some point.
-
- The $Log$ (and $Header$) information become more important if you
- distribute any source files without the RCS control files (or CVS
- repository in our case).
-
- We make use of $Header$ and $Log$ in every source file, along with
- a @(#) to describe the function of the file. This is so that we can:
-
- 1. Determine the purpose of all files (what *) in directory.
- 2. Determine what release of all files (ident *) are in a directory.
-
- The $Log$ information gives a clue as to who had their hands in the
- file, without access to the RCS control files.
- --
- Donald E. Amby
- don@amby.mixcom.com (for short mail) (414)797-6713 (voice)
- amby@eisner.decus.org (for lengthy mail) (414)797-6533 (FAX)
- Harnischfeger Engineers, Inc., P.O.Box 1512, Milwaukee, WI 53201-1512
-