Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Unable to Checkout file in CVS-Linux

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 25850
184
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41185
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic