Solved

cvs setup

Posted on 2004-04-04
5
434 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 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