Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!ucsfcgl!babar.mmwb.ucsf.edu!srp From: srp@babar.mmwb.ucsf.edu (Scott R. Presnell) Newsgroups: comp.unix.admin Subject: RCS check in of foreign source Keywords: how to? Message-ID: Date: 11 Dec 90 18:41:34 GMT Sender: daemon@cgl.ucsf.edu Lines: 32 Hi... I have a question about using RCS with source code from someone else. Lets say I get some source code from someone, they've used RCS so there are RCS keywords and revision numbers in the source files. What I'd like to do is create a RCS file for each of the source files, continue work on them for porting and patching and the like, then do an rcsdiff against where I started and where I am, and use that as a patch file. All I need to do is recreate the last RCS "state" this source code was in. OK, you say, use ci or rcs: If I do that, then lots of header infomation changes to the local information and therefore *every* file is now different from the original as far as RCS is concerned. Not what I wanted, I only changed 2 of the 10 source files. Besides, its *ugly*. OK, you say, use "ci -k": That's much closer, the local information is not used (the information from the file is), but upon the implicit co that rcsdiff does, the log message, created by ci -k, is inserted into the temporary file that is diffed against. Hence, again *every* file is different as far as RCS is concerned. So. How do I do this? Am I missing a flag somewhere? Thanks for your help. - Scott Presnell -- Scott Presnell +1 (415) 476-9890 Pharm. Chem., S-926 Internet: srp@cgl.ucsf.edu University of California UUCP: ...ucbvax!ucsfcgl!srp San Francisco, CA. 94143-0446 Bitnet: srp@ucsfcgl.bitnet