CVS 'top of tree' directory

We're using CVS for source control.
I'd quite like to add documents into the repository, so we can look back at old versions etc. etc.
That's fine for those developers who are using CVS, but a nuisance for management etc. who don't generally need it, or want to know how to use it.
Ideally, I'd like to configure CVS somehow to maintain a read-only 'TopOfTree' copy of certain of the respository directories and files. Is there an easy/cunning/sensible way to do this? I guess I could run a read-only checkout from a script every day/hour/etc. Is there a better way?
LVL 12
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duncan RoeSoftware DeveloperCommented:
The files in a CVS tree are standard RCS files. You could run a cron job which checks the relative modification times of the RCS file and the checked-out copy,
and refresh that if required.
andrewjbAuthor Commented:
Yup - that's currenly my best idea. I'd hoped there might be some automatic way to do it, or a hook that could be called when something gets checked in..

Anyone else got a neater way?
There is an automated hook that gets called when something gets checked in.
It is called the postcommit filter:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
andrewjbAuthor Commented:
That link's not the right article... but google for 'PostCommit CVS' helps..

Let me play for a moment, and I'll be back to grade in a day or two :-)
andrewjbAuthor Commented:
PostCommit seems to be on the nt cvs server only, but there are script hooks on the linux on - look for thingslike 'loginfo'
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.