LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-26-2009, 03:19 PM   #1
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Rep: Reputation: 15
where are cvs files checkout out to?


dir is a directory under my $CVSROOT. ls $CVSROOT

CVSROOT
dir

In dir I have a file I want to checkout.

Running "cvs checkout dir" should checkout dir into the directory I ran the command in. I see a dir. But, when I go into dir I don't see the file I wanted to checkout. I see a directory named CVS with three files: Entries, Repository, and Root.


What happened to the file in my working copy of the "dir" directory?
 
Old 01-26-2009, 04:11 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,618

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
cvs and svn put the file in the folder you ran the terminal from
ex.
Code:
[??@?? ~]$ svn co https://celestia.svn.sourceforge.net/svnroot/celestia celestia
would be a folder called celestia in ~( home) 
 [??@?? ~]$ cvs -d:pserver:anonymous@cimg.cvs.sourceforge.net:/cvsroot/cimg co CImg
would be a folder called CImg in ~( home) 
[??@?? /usr/src]$ svn co https://celestia.svn.sourceforge.net/svnroot/celestia celestia
would be /usr/src/celestia 
[??@?? /usr/src]$ cvs -d:pserver:anonymous@cimg.cvs.sourceforge.net:/cvsroot/cimg co CImg
would be /usr/src/CImg
you might want to read the " man " pages
Code:
man cvs
 --
man svn
 
Old 01-26-2009, 04:19 PM   #3
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Original Poster
Rep: Reputation: 15
That's what I thought and is consistent with the results I got. BUT, where is the file in "dir"?
 
Old 01-26-2009, 06:19 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,618

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
What are you trying to checkout of cvs??
post the code.
 
  


Reply


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
cvs checkout with Ant ShaqDiesel Programming 8 10-24-2008 05:10 PM
Problems with lineseparator when doing cvs checkout. noware Linux - Software 3 06-02-2006 04:31 AM
CVS: checkout and module name pacionet Linux - Software 1 05-11-2006 10:19 AM
cvs checkout on slackware 8.1 rolandp Linux - Software 1 06-30-2005 01:20 AM
CVS produces read-only files on checkout gepesz Linux - Software 1 07-01-2004 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:28 PM.

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