bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbolic Links


From: Randy Rasmussen
Subject: Re: Symbolic Links
Date: Fri, 02 Apr 2004 08:06:49 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]