[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorry about this newby question

From: Todd Denniston
Subject: Re: Sorry about this newby question
Date: Mon, 06 Jun 2005 13:47:27 -0500

Jim wrote:
> Hello,

Coming back to re-read your original post ... I note some possible

> I apologize in advance for what is no doubt a foolish question, but I'd
> greatly appreciate it if a kind soul could set me straight.
> I've just checked out a CVS archive (I have Fedora Core 1 running on a
> laptop, if that matters).
>   export CVSROOT=/usr/local/cvs
>   mkdir $CVSROOT
>   cd $CVSROOT
>   cvs init

You have just made a local (to your machine) cvs repository.

>   cvs -d:pserver:address@hidden login
>   cvs -z3 -d:pserver:address@hidden co modulename

Now you try to checkout a module from another site INTO your repository.
This is wrong!!!.

There are two ways I can think of to do what I THINK you are attempting to
1) use a product like cvsup[1] to mirror the repository you want

2) do the checkout from the remote machine some where else and either
convince cvs to ignore the CVS directories, or remove the CVS directories,
and either import or add all the files into your local repository.

method 1 may be easier to do and keep sanely synchronized, but if it (and I
have not read the cvsup pages) requires a special program on the server you
may be stuck with method 2.

> (I pasted in the instructions that were on the site, so I'm pretty sure
> I did it right.)
> Now I want to add a file to the local repository (by that I mean the
> sandbox).  But I am on a laptop, not connected to the Internet.
>   cd modulename
>   cp /home/jim/newfilename .
>   cvs add newfilename
> and the system objects "unknown host ..."  (it names the host from
> which I checked out the material).

This is because you have confused cvs by doing a checkout from an external
repository into your local one. You should never do a checkout inside of the


Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]