Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-03-2004, 01:28 AM   #1
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Rep: Reputation: 15
CVS configuration

Hello everyone

well I'm very new to CVS, I've studied what it does and how it does work but I'm having a hard time configuring it on my system....I'm running a fedora core 3 and I've already done these steps:
added this line to my .bashrc
I dunno what this does but I found this on a webpage about fedora and configuring the cvs root on it , i also created a file .cvsrc in my home directory and put these in it
cvs -z3
diff -uN
rdiff -uN
update -dP

now all i wanna be able to do for now is jut to be able to check in some files and check out...
i've already have my projects so can anyone explain what i else i should be doin...
and also how can i add my already made programs to use cvs...? say each program has different .h and .cpp files...
thank you very much
Old 12-31-2004, 01:41 PM   #2
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 182

Rep: Reputation: 25
If this is for yourself to play a bit around start a bit easier

$ mkdir $HOME/cvsRep # just make a directory as a repository
$ export CVSROOT=$HOME/cvsRep
$ cvs init # this is needed only once (but you don't break anything with it)

support you have a bunch of files in a directory ~/project
$cd project
$cvs import myProject someTage inital

now the project is in CVS, make a sandbox directory that you will use to edit

$mkdir ~/sandbox
$cd ~/sandbox
and check out a sandbox of your project to edit
$cvs checkout myProject
$cd myProject
your file will appear here together with directories named CVS (don't touch those,
but they contain the CVSROOT, each time you use a CVS command it will use that
CVSROOT specified before)

edit some files now
$ cvs commit -m 'some changes to test this'

now your changes are in CVS

I think if you can get this working you have some idea of it


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
create a cvs repository with existing files to cvs powah Linux - Software 1 08-19-2005 09:19 AM
Obtaining sources by CVS - no cvs access cybrjackle *BSD 0 01-18-2005 08:28 AM
cvs configuration gamecoders Linux - Software 2 04-11-2004 08:06 PM
samba/cvs configuration mehesque Linux - Networking 0 02-24-2004 06:31 PM
?simple CVS configuration howto pudhiyavan Linux - Software 0 01-06-2004 03:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration