home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / programm / 5863 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.4 KB  |  59 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
  3. From: etxmesa@eos.ericsson.se (Michael Salmon)
  4. Subject: Re: Revision control by directory tree
  5. Message-ID: <1993Jan8.083451.21875@ericsson.se>
  6. Keywords: sccs rcs cvs directories
  7. Sender: news@ericsson.se
  8. Nntp-Posting-Host: eos6c02.ericsson.se
  9. Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
  10. Organization: Ericsson Telecom AB
  11. References:  <1352@curly.appmag.com>
  12. Date: Fri, 8 Jan 1993 08:34:51 GMT
  13. Lines: 44
  14.  
  15. In article <1352@curly.appmag.com>
  16. pa@curly.appmag.com (Pierre Asselin) writes:
  17. |> I am maintaining libraries of in-house code and I want to place the
  18. |> files under revision control.  My boxes (AIX 3.[12]) only have sccs.
  19. |> I have been using sccs for single-file programs, but a library source
  20. |> is typically spread over many files.  I want all the files to have the
  21. |> same revision number.  Sccs won't do that.  I don't have large teams of
  22. |> programmers to manage;  all I need at this point is per-project
  23. |> revision numbers.
  24. |> 
  25. |> According to the c.u.questions FAQ, RCS has a feature (symbolic names)
  26. |> that might come close enough to what I want.  I lifted some BSD docs
  27. |> from uunet but they weren't specific enough.
  28. |> 
  29. |> Surely this is a common problem.  How do you handle it?  Should I
  30. |> install RCS?  Should I get CVS instead?
  31.  
  32. RCS does have the facility to assign a symbolic name to a revision and
  33. it is a plain string so it can be something meaningful. You can do what
  34. you want with SCCS, this is from the man page for get:
  35.  
  36.           When you specify a release  but  omit  the  level,  get
  37.           retrieves  the  highest level in that release.  If that
  38.           release does not exist,  get  retrieves  highest  level
  39.           from the next-highest existing release.
  40.  
  41. Hence when you edit a file for the first time in a release e.g. 5 set
  42. the revision to 5.1 then follow the normal edit/delta cycle and when
  43. you make the library simply set SCCSFLAGS to -r5. Alternately you can
  44. check out all sources at the beginning of the release with the correct
  45. revision and then check them back without changes, personally I prefer
  46. the first method though it does require some thought. This isn't quite
  47. what you asked for but I hope that it is what you want.
  48.  
  49. -- 
  50.  
  51. Michael Salmon
  52.  
  53. #include    <standard.disclaimer>
  54. #include    <witty.saying>
  55. #include    <fancy.pseudo.graphics>
  56.  
  57. Ericsson Telecom AB
  58. Stockholm
  59.