SCCS information needed.

Glenn Boysko boysko at dsrgsun.CES.CWRU.Edu
Fri Aug 31 10:45:28 AEST 1990


I'm running my head into wall trying to query SCCS for information about the
existence of a delta.  Consider the following scenario:

	Problem:  I would like to use SCCS for change management (single file)
		  as well as configuration management (sets of files.)  I 
		  realize that SCCS doesn't do the latter, but I've devised the
		  following scheme:  files that are relate to the same
		  "version," have the same release number.  For example, given
		  a set of three source files, A.c, B.c and C.c, I will
		  increase the release number every time a major enhancement is
		  to be formed to the files.  

	  	  Assume the initial set of files to have the following deltas:

			A.c			B.c		C.c
			1.1			1.1		1.1
			1.2			1.2		
						1.3

		  After testing is complete, I say that version 1.2 of A.c, 1.3
		  of B.c and 1.1 of C.c comprise version 1.

		  When I begin enhancements for the next version, I up the
		  release number to 2 for all components.  All is well and
		  fine until file B.c is replaced by D.c.  Now I could remove
		  B.c from SCCS, but I would always like to rebuild version 1.
		  So, I keep B.c (v1.1 - 1.3) and I add D.c at version 2.1.

		  Next, I would like to build version 2, so I use the "get"
		  command:

			% sccs get -r2 SCCS

		  thinking that it will only get me A.c, C.c and D.c.  But
		  as it turns out, B.c is fetched even though it does not
		  contain a delta larger than 1.?.  I realize that this is not
		  a bug, the documentation states this clearly.  What I would
	    	  like to do is first query SCCS for all files of release 2 and
		  get those.

	Question: Can I query SCCS to give me info on all files with a certain
		  release number?  I haven't found anything that relates...


Thanks,
Glenn


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Glenn Boysko		clsi!glenn at uunet.uu.net




More information about the Comp.unix.questions mailing list