[Top][All Lists]

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

Re: when cvs checkout it checks out only directory tree wihtout any file

From: Insik Park
Subject: Re: when cvs checkout it checks out only directory tree wihtout any files
Date: Wed, 07 Feb 2007 11:37:14 -0500
User-agent: Thunderbird (Windows/20061207)

Step0ut wrote:
> Hi everyone,
> I have been using cvs but as a user
> so I knew the basic commands to check out code, updating e.t.c.
> I have decided today to setup my own repository following some instructions 
> found in 
> so after doing all steps, initializing e.t.c. I try to check out the code
> from another location
> but I get only the full directory tree without any files in it.
> Do you have any suggestions what I might have screwed up?
> Cheers,
> Step0ut
I think you should find a different set of instructions. Instead of
using "mkdir /home/myproject/cvs/myproject", you need to use the CVS
command "import" to tell CVS which files you want it to keep track of.

For example, once you have init'ed the repository, you should go to your
source root directory:

cd ~/whereMyCodeIs/

and execute:

cvs import myproject username start

The import command tells CVS to create the project "myproject" in the
repository, with all of the source files and directories under the
current directory. Once CVS has imported all of the source files, you
should be able to use checkout with no problems.

reply via email to

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