[comp.unix.questions] Does RCS *have to* trash hard links?

jdpeek@RODAN.ACS.SYR.EDU (Jerry Peek) (06/26/89)

It's true (isn't it?) that you can't use the Revision Control System on
files which have more than one link.  In other words, things like this:
	ln name1 name2
	ci -u name1
	co -l name1
will break the link between "name1" and "name2".

To get around this, I either use symbolic links (which eat disk space)
or I do things by hand with temporary files, "mv", and "co -p".

Has anyone hacked RCS (co and ci, especially) to handle this?  You
couldn't let 'ci' delete the working file, of course; the "-u" or "-l"
flag would have to be required (or implicit).  And all "co" would do is:
	cat new_revision > old_revision
so that old_revision would always exist.

--Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY
  jdpeek@rodan.acs.syr.edu, jdpeek@sunris.bitnet
  +1 315 443-3995