Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ingr! From: rob@b15.INGR.COM (Rob Lemley) Newsgroups: comp.unix.questions Subject: Re: How do I change file names introduced to SCCS Keywords: SCCS file name change Message-ID: <1771@b15.INGR.COM> Date: 31 Oct 90 16:08:35 GMT References: <1990Oct30.125900.14693@resam.dk> Distribution: comp Organization: Intergraph Huntsville Lines: 32 th: b15!rob In <1990Oct30.125900.14693@resam.dk> andrew@resam.dk (Leif Andrew Rump) writes: >I introduced a file some time ago into SCCS called xyz.c, >now I want to change it's name to abc.c - how is it done? >I would like to keep the file history - so SCCS will give >me the right file depending on which version I retrieve. Try: mv s.xyz.c s.abc.c You will always get the right file (ie: the text for any version and the file history will be correct) but from now on, the name will be "abc.c" regardless of which version you request. To my knowledge, the name of the retrieved file is always the same as the s-file with the leading "s." removed. I don't believe there is any way within SCCS to cause different versions to be gotten into different file names. If this is what you want, a "front end" program to SCCS may be your only alternative. Another alternative would be to create (admin) a new file: s.abc.c with the first version (delta) the same as the last delta of the s.xyz.c file. If you MUST change the file name for future releases but maintain the old file name for old releases, I tend to lean toward this solution. Rob -- Rob Lemley System Consultant, Scanning Software, Intergraph, Huntsville, AL ...!uunet!ingr!b15!rob OR b15!rcl@ingr.com 205-730-1546