[Top][All Lists]

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

Re: cvs import

From: Mark E. Hamilton
Subject: Re: cvs import
Date: Fri, 13 Oct 2006 13:00:12 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920

Jim wrote:

I would like to create following structure in the cvs root:

                       |- Source
                       |- Include
                       |- Script

Are following commands right to create cvs root directory, modules and add all subdirectories in to CVS? If they are wrong, could you please show me a correct command?

[Source #] cvs -d :ext:cvs_host/usr/local/repository_v2 import Source

[Include #] cvs -d :ext:cvs_host/usr/local/repository_v2 import Include

[Script #] cvs -d :ext:cvs_host/usr/local/repository_v2 import Script

They're almost correct. Read this:

You need to supply a vendor_tag and release_tag, though they may not mean anything in this case.

Note that what I do when I'm unsure of how something in CVS works is I create a test repository and do my tests with that repository. Something like this:

cvs -d /var/scratch/test_repos init
cvs -d /var/scratch/test_repos import Source vtag rtag

Then you can examine what CVS did and where it put things. When you are satisfied with the results, do the same import into your real repository.

Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.

reply via email to

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