home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!nwnexus!Celestial.COM!bill
- From: bill@Celestial.COM (Bill Campbell)
- Subject: Re: RCS logfile usage
- Organization: Celestial Software, Mercer Island, WA
- Date: Thu, 19 Nov 1992 17:48:02 GMT
- Message-ID: <1992Nov19.174802.21915@Celestial.COM>
- References: <1992Nov17.150301.23707@geac.com>
- Lines: 42
-
- 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.
-
- :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.
-
- I use cvs on top of RCS and it gives me the opportunity to enter
- change notes in my favorite editor when I do a checkin. I then
- read `cvs diff -u filename` into the editor session which shows
- me the differences and I document changes accordingly. cvs also
- maintains a file automatically in the current directory (Changes)
- which has a history of all changes on files in the directory. I
- include the Changes files in my source repository and check it in
- so I have a single reference 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.
-
- I wrote a script I call rcslog which runs the rlog command and
- cleans it up for inclusion under a $Log: $ line. I use this to
- insert log documentation in files that either never had a log
- section or it may have been corrupted.
-
- Bill
- --
- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software
- UUCP: ...!thebes!camco!bill 6641 East Mercer Way
- uunet!camco!bill Mercer Island, WA 98040; (206) 947-5591
- SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?
-