I guess I made this a bit confusing, sorry. I have added comments
below. The 1st and 2nd comments are actually separate issues and don't
relate to each other.
Paul Eggert wrote:
Randy Rasmussen <address@hidden> writes:
If I run ci aliases from /etc it creates /etc/RCS/aliases,v but
deletes /etc/aliases.
Yes, that's right.
This is what happens if I have /etc/aliases -> /etc/mail/aliases. I
would think it could be setup so that it puts aliases,v in
/etc/mail/RCS (by following the link) and doesn't delete the link
/etc/aliases.
If I run co aliases from /etc it says it can't find
/etc/RCS/aliases,v
If there's a file /etc/RCS/aliases,v, it will find it. Perhaps you
meant that it won't find /etc/mail/RCS/aliases,v. That's correct.
This was after I ran ci aliases from /etc/mail (which created
/etc/mail/RCS/aliases,v) and then cd'd to /etc and ran co aliases
which I would have thought it would not check /etc/RCS but the real
path of the link which would find RCS in /etc/mail/RCS.
Please let me know what the solution is.
I'm afraid the solution is to not check in symbolic links.
Emacs notices the situation in question and has the behavior
that you prefer; perhaps you could edit /etc/aliases with Emacs.
We have more than one person editing files with different editors. We
are trying to make them use RCS for editing these files. Most of us use
vi to edit the files so we have a wrapper to use RCS before/after
editing the files. I guess our solution is to add more code to the
wrapper to co /etc/mail/aliases if they vi /etc/aliases.
Randy
|