Jim wrote:
Hi,
I would like to create following structure in the cvs root:
/usr/local/repository_v2
|- 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:
http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_3.html#SEC40
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.
505-844-7666
_______________________________________________
info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs