Yes, we understand that adding/deleting files is going to be messy.
Fortunately, the body of code is fairly stable and thus we expect such
operations to be rare.

-----Original Message-----
From: Jerry Nairn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2000 4:28 PM
To: Eric Chamberlain; CVS-II Discussion Mailing List
Subject: RE: Linked Files in the Repository


Okay,
We all agree that links in the repository are A Very Bad Thing. If you
absolutely must do something like that however, use commitinfo scripts to
prevent some obvious problems from arising.
For example, you can prevent the 'cvs rm' problem Toby mentioned. You can
have 'cvs rm' of the link either fail and tell the user that he needs to cvs
rm the real file. (That's what I would do.)
Or you can have it 'cvs rm' the real file for him.
Either way, you need to decide what to do about the link. I guess you would
delete it and create a new link in the attic.
Hmm, the more I think about it, the hairier it gets.
Then you would want to do something similar about adding files.
Good luck,
Jerry

> From: Pavel Roskin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 13, 2000 2:27 PM

> 
> I'm sure that the problem can be solved with some wrappers around the
> compiler and a rule for developers on one of the platforms - 
> "don't ever
> edit *.x, edit *.y only"
> 

Reply via email to