Newbie question, versioning configuration files

Kent Tenney <kent-JSp3AJ6iim32eFz/[email protected]>
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Howdy,

I want to put some configuration files under
version control.

All the descriptions of CVS usage I've seen
keep working copies of files together, somewhere
like ~/cvs/config

I'd like a recipe which keeps the copy of a file
in the CVS working directory in synch with the
"real" file.

IE: /etc/profile has a copy in ~/cvs/config/profile.
When I do
# cvs commit
in  /cvs/config, I want the recipe to check
if /etc/profile is newer than ~/cvs/config/profile,
and update the versioned copy before commiting to cvs.

In reading the doc it seems that there are a number
of ways this could be done...

Please point me in the right direction.

Thanks,
Kent




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.