Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to Checkout file in CVS-Linux

 
Rajesh Kandhasamy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

when i try to check out file from CVS server which is installed in Linux

"cvs [checkout aborted]: Cannot check out files into the repository itself"

Command which i execute is [giri@101/udp cvs]$ cvs co cvstest,

please help me sortout the issue,

Thanks in advance
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rajesh Kandhasamy:
Hi,

"cvs [checkout aborted]: Cannot check out files into the repository itself"


The CVS repository is a database in the form of a directory tree. Neither the root of that tree nor any of its children should be used as project working directories - they are the archive of a project, not the project itself.

In other words, if my CVS respository was /usr/local/CVSrepository, I would not "cd /usr/local/CVSrepository; co cvstest" nor would I cd to /usr/local/CVSrepository/cvstest to do work. As far as I'm concerned, the whole /usr/local/CVSrepository directory tree doesn't really exist - it's just a black box that should only be accessed via CVS client applications.

To work on a project, I'd do something like the following:



"xxxxx" is your userid. It might be optional, but I spend so much time on mixed networks that I've developed the habit.
[ December 07, 2006: Message edited by: Tim Holloway ]
 
Rajesh Kandhasamy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi TIM,

Thanks for your kindly Response,

Am getting the following error while Checking out the directory which

resides under CVSROOT directory,

cvs checkout: Updating test
cvs checkout: cannot create read lock in repository `/home/cvs/test': No such file or directory
cvs [checkout aborted]: read lock failed - giving up

But i found the directory is there which is created by root user,

Am Trying to install cvs1.11.22 on Linux 2.6.9-22.E ,

If you provide me the Installation documnet for cvs, which in

details ,because am new to both Linux and cvs
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cannot create read lock in repository `/home/cvs/test': No such file or directory

Does this directory exist? Does your user id have write access to it?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic