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

x
?
Solved

cvs setup

Posted on 2004-04-04
5
Medium Priority
?
442 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 800 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

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