[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


CVS Cervisia setup assistance needed

Posted on 2007-08-04
Medium Priority
Last Modified: 2013-12-15
Doing webdevelopment I decided to use a version control system which would be
Cervisia CVS under Linux. I'd like to take existing project folders as a local repository
(under /srv/www/htdocs) and check them out to working directories but found that
I need step to step instructions how to go on about this.
Question by:xberry
  • 7
  • 4

Expert Comment

ID: 19632403
Is your current CVS working at all? Were you able to check in or out anything so far?
LVL 14

Author Comment

ID: 19633867
Well I did create a local repository, which should be /srv/www/htdocs
and which went ok so far. Cervisia did create a folder CVSROOT within
srv/www/htdocs, which has lots of configuration files and another folder called Emptydir,
which is ... empty. My problem is that I don't know how to checkout a project
within ~/htdocs now. Lets say I have this projectfolder myproject within
~/htdocs and now I'd like to use CVS to continue work on 'myproject',
how to go about it ? I did read the instructions but hardly understand
the thing about 'checking out a module' what is a module, anyway ?
Is it any project folder in my repository, i.e under ~/htdocs ? or ?
Also, what exactly is the prodecure of checking out ?
When checking out, would the checking out create an exact copy
of any repository project folder, recursively, or would I do have to do this
prior to checking out and is checking out simply telling the CVS
where to find the copy so that it can compare with the repository files
and update copy and tracking changes and so on ?
LVL 14

Author Comment

ID: 19633873
Another thing: I would need to check out
files anywhere under /srv/www/htdocs/ too,
because htdocs is the root folder of my local
web server which I need to test the projects I am working on.
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

LVL 14

Author Comment

ID: 19634284
Just simply tried something:
Did select my repository srv/www/htdocs
and select the project 'myproject' within htdos as module name and
told cervisia to check it out to /srv/www/htdocs/develop which did exit
with error "Cannot checkout into repository itself" - OK accepted - so
next I delete repository, then create new one as /srv/www/htdocs/projects
(after I copided my source files into there) and then try to checkout to
/srv/www/htdocs/develop which seemed to work but then found that
only the folder 'myproject' was copied into ~/projects/ and Cervisia
did put another folder 'CVS' into 'myprojects' which contains the files 'Entries',
'Repository' and 'Root'. Where are my files then ? and the ohter subdirectories within
'myproject' ?
LVL 14

Author Comment

ID: 19634318
Also, when doing the checkout, I did checkmark the
option "Recursive checkout"
LVL 14

Author Comment

ID: 19634701
Seems now to work, actually I found out where my mistake was:
The repository files had to actually to be under the CVSROOT folder,
which they weren't before. My mistake was to believe that repository
is the folder where the CVSROOT folder is resident and all files
parallel to the CVSROOT folder could be checked out, which they couldn't,
so I simply did an import to repository and gave a module name which
did create a folder within the CVSROOT, with all source files which I then
could check out to working directory recursively.

Accepted Solution

ezaton earned 500 total points
ID: 19634748
Well... you resolved this one yourself :-)
LVL 14

Author Comment

ID: 19635065
Only wonder what to do now - pity to delete all my own comments
when I apply for deletion - could actually help somebody else
if stored in PAQ section - other hand, no rule to accept own solutions
which is a pity, since it often happens that I start to think properly
only by posting a question here (maybe the expert athmosphere ; ))

Other hand nothing to loose if I accept one of your comments, even if
it is a bit funny, ...  

Expert Comment

ID: 19635529
Life is funny, but you have to make your own decision - I can't make it for you.

You can think of my answer as a catalyst for your own thinking process :-)
LVL 14

Author Comment

ID: 19637048
>> You can think of my answer as a catalyst for your own thinking process :-)

Uhh, learnt something about the grades:

A = Answer
B = Backup
C = Catalyst

Now I only have to work out, which one of your answers to take as a catalyst,
I think I know how to do this, since in my knowledge life works out as
sort of ' reversed engeneering' ... ; )

Also, reminds me of the famous greek truthteller, the Pythia from the Oracle of Delphi,
who once did wonder why all people come to her to find out about answers to their lives,
so she commented "if people would really start to think they would find answers to their lives all
by themselves" (or similiar)


Expert Comment

ID: 19640012
Probably, just in Greek... :-)

Thanks for the points.

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month18 days, 23 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question