home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!samsung!transfer!jjmhome!alden!alden.UUCP
- From: sgr@alden.UUCP (Stan Ryckman)
- Newsgroups: comp.unix.questions
- Subject: Re: SCCS Question
- Message-ID: <513@alden.UUCP>
- Date: 17 Aug 92 16:50:55 GMT
- References: <1697@aviary.Stars.Reston.Unisys.COM>
- Sender: usenet@alden.UUCP
- Distribution: na
- Organization: Alden Electronics, Westboro, MA
- Lines: 63
-
- In article <1697@aviary.Stars.Reston.Unisys.COM> dmarshal@Stars.Reston.Unisys.COM ( Paramax) writes:
- >Note: This is my boss's question, so my apologies if I don't ask it well.
- >
- >When you initially create an SCCS file without identification keywords,
- >sccs complains that you don't have any keywords and continues. If that
- >file is checked out and modified such that identification keywords are
- >now present (such as %M%), and then the file is checked back in, sccs
- >*still* complains that no keywords are present. Furthermore, the
- >identification keywords are not expanded as we would hope.
- >
- >Is there any way to get sccs to accept keywords after the inital creation
- >of the SCCS file?
- >
- >We would create new SCCS files with the new keywords in place, but THE MAN
- >has decided we ought to keep the history information we have been collecting
- >so far.
- >--
- > Dave Marshall
- > dmarshal@stars.reston.unisys.com
-
- You're either not doing it right or you have a broken SCCS. You
- didn't say what machine/OS etc. I'm using a Sun-3 and get the
- following:
- ========
- sgr-327) echo This is a test > foo
- sgr-328) sccs create foo
-
- foo:
- No id keywords (cm7)
- 1.1
- 1 lines
- No id keywords (cm7)
- sgr-329) sccs edit foo
- 1.1
- new delta 1.2
- 1 lines
- sgr-330) echo 'Foo stuff %M% %D% %T% %I%' >> foo
- sgr-331) sccs delget foo
- comments? none
- 1.2
- 1 inserted
- 0 deleted
- 1 unchanged
- 1.2
- 2 lines
- sgr-332) cat foo
- This is a test
- Foo stuff foo 92/08/17 12:34:42 1.2
- sgr-333) sccs edit foo
- 1.2
- new delta 1.3
- 2 lines
- sgr-334) cat foo
- This is a test
- Foo stuff %M% %D% %T% %I%
- sgr-335)
- ========
-
- Good luck,
- Stan.
- --
- This .signature has expired. Call 1-900-YOU-FOOL to find out why.
- Stan Ryckman sgr@alden.UUCP
-