RCS

Chris Torek chris at mimsy.UUCP
Thu Mar 30 10:07:55 AEST 1989


In article <5372 at lynx.UUCP> m5 at lynx.uucp (Mike McNally) writes:
>When a file is checked out (with co) of an RCS directory, it seems to me
>that it would be nice if the modification date were set to the date of
>the revision.  This would keep "make" happy.

Since `co' expands RCS keywords, this would be wrong.  For instance:

	% co -l foo.c
	1.1 locked
	% edit foo.c
	...
	% make
	...
	% ./test foo
	works
	% ci foo.c
	...
	% co foo.c
	% make
	`foo' is up to date.
	% ident foo
	$Header: ... chris Locked $
	%

Other than the single `extra' recompilation (not always unnecessary,
as above), if you keep a copy co'd all the time, this is no problem.
Alternatively, you can use a variant of `make' that knows about RCS
files.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list