home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!pipex!warwick!dcs.warwick.ac.uk!rince
- From: rince@dcs.warwick.ac.uk (James Bonfield)
- Subject: Re: sccs eats good code -
- Message-ID: <1992Dec22.090329.11162@dcs.warwick.ac.uk>
- Sender: news@dcs.warwick.ac.uk (Network News)
- Nntp-Posting-Host: stone
- Organization: Department of Computer Science, Warwick University, England
- References: <1992Dec21.4396.29992@dosgate>
- Distribution: comp
- Date: Tue, 22 Dec 1992 09:03:29 GMT
- Lines: 47
-
- In <1992Dec21.4396.29992@dosgate> "peter curran" <peter.curran@canrem.com> writes:
-
- > (As others pointed out, a solution is to get rid of SCCS. My
- > recommendation is to get rid of source code management systems,
- > but that would raise a few screams, so I won't mention it.)
- >
- > Peter Curran
- > Usenet: peter.curran@canrem.com RIME: CRS (#118)
- > ---
- > ■ DeLuxe² 1.25 #12339 ■
- > --
- > Canada Remote Systems - Toronto, Ontario
- > World's Largest PCBOARD System - 416-629-7000/629-7044
-
- I'd certainly agree with abolishing sccs. I've never really been 'into' source
- management systems, but when I have had to use them I've found RCS invariably
- better. The first time I was told (had to really to get decent marks in a
- course) to use sccs I ended up making the mistake of typing a control
- character (accidently) into my source code. Sccs was more than happy to add
- this new addition to the history file.
-
- However it showed it's true stupidity when I tried to do an 'sccs edit file.c'
- on the file. It appears it follows the following scheme:
-
- 1) Check if there is an sccs file for 'file.c'.
- If not error
- 2) Delete the existing file.c from this directory
- 3) Parse file.c and attempt to extract the latest revision
-
- Do you notice anything blindingly wrong with this? Sccs has the intelligent
- idea of giving control characters special meaning within the history file. And
- it doesn't bother to escape any of the ones you happen to have typed in. This,
- naturally, means that if you enter a control char into your source then upon
- the next 'get' or 'edit' sccs will kindly remove the only existing copy you've
- got and *then* complain that it doesn't understand the history file.
-
- For this reason using sccs actually slowed down and hampered my development by
- a huge factor. Surely this isn't the scheme of such things? On the contrary
- the next time I was asked to make use of such a system I put RCS to the test
- (by RCSing a few binaries and seeing how it felt about such monstrosities).
- This handled things MUCH better. (Of course, even so I made sure I kept my own
- backups and revisions as well... just in case).
-
- --
- James Bonfield (jkb@mrc-lmba.cam.ac.uk / rince@dcs.warwick.ac.uk)
- Medical Research Council Laboratory of Molecular Biology, Hills Road,
- Cambridge, CB2 2QH, England. Tel: 0223 402499 Fax: 0223 412282
-