Solved

cvs setup

Posted on 2004-04-04
5
433 Views
Last Modified: 2011-09-20
When I type in command

cvs -d co [dirname]

using bash shell on my local linux machine to check out what's in the remote cvs repository, I get

Unknown command: 'dirname'

What are the possible reasons for getting this?


Details of what I did:

I have added

Host [IPAddress]
HostName [host name]
User [login name]

to /root/.ssh/config

and I've also set environment variable as

export CVS_RSH=ssh
export CVSROOT=:ext:[host name]:/[root dir of repository]/CVSROOT

and finally, in order for these values to be set every time I use the computer, I put these export commands in the file (~/.bashrc) that loads my local setting at startup.

Then I typed in the command: cvs -d co [dirname]
0
Comment
Question by:skyblue01
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Alf666
ID: 10751512
Why "cvs -d" ??? "-d" indicates a CVS root dir. The following should work :

cvs co dirname
0
 

Author Comment

by:skyblue01
ID: 10752834
Thanks, once I ssh into the remote machine and type: cvs co [dirname], I get

Cannot access /[root dir of repository]/CVSROOT/CVSROOT

Is there something wrong with the way I set CVSROOT above?

i.e. export CVSROOT=:ext:[host name]:/[root dir of repository]/CVSROOT

or anything else?
0
 
LVL 9

Accepted Solution

by:
Alf666 earned 200 total points
ID: 10753807
Yes. Get rid of the CVSROOT in the env var :

export CVSROOT=:ext:[host name]:/[root dir of repository]

0
 

Author Comment

by:skyblue01
ID: 10754982
Thanks Alf666.   It works now.
0
 
LVL 9

Expert Comment

by:Alf666
ID: 10755546
I know :-))))))))))))))))))
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

803 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