[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Importing then checking out?
From: |
Mark D. Baushke |
Subject: |
Re: Importing then checking out? |
Date: |
Mon, 29 Nov 2004 13:24:23 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Galen Boyer <address@hidden> writes:
> Okay,
>
> Now I'm confused. My documentation gives the following example:
>
> $ cd wdiff-0.04
> $ cvs import -m "Import of FSF v. 0.04" fsf/wdiff FSF_DIST WDIFF_0_04
>
> So, I'm trying to import sources for ecb-1.93. I do the
> following:
>
> $ cd ecb-1.93
> $ cvs import -m "Import of FSF ECB v. 1.93" grersrepository/ecb FSF_DIST
> ECB_1_93
>
> I get the following:
>
> No conflicts created by this import
>
> Okay, now I try to commit this (I assume I need to commit?)
>
> cvs commit
> cvs1 commit: in directory .:
> cvs1 [commit aborted]: there is no version here; run 'cvs1 checkout' first
>
> Okay, so I try to check this out:
>
> $ cd ../ecb
> $ cvs checkout ecb
If you used 'grersrepository/ecb' in the import, then you need to use it
in the checkout:
cvs checkout grersrepository/ecb
>
> And I get:
>
> cvs server: cannot find module `ecb' - ignored cvs1 [checkout aborted]:
> cannot expand modules
Correct, but you could use
cvs checkout grersrepository
to checkout the top-level 'grersrepository' you created via the
'cvs import' command you gave above.
or, to get everything in the repository checked out use:
cvs checkout -d top .
cd top
you should now see 'CVSROOT' and 'grersrepository' plus any other
modules you have in your repository.
> QUESTIONS:
>
> Our repository name is grersrepository. What is the "/" for?
It creates the subdirectory under the top-level grersrepository module
you specified.
> Is ecb a module, or do I consider it a new repository?
grersrepository/ecb is a 'module'
A new 'repository' is one that contains a unique $CVSROOT value and you
will have a single CVSROOT module for all valid repositories.
> What are the steps I need to follow to import and then checkout?
See above.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFBq5OH3x41pRYZE/gRArnAAKDJPmRciXvMBX/8qPdr7rxI3kC+FwCgkdx0
cOyCZvXjdeqtzBHEhK3/Kis=
=2fU5
-----END PGP SIGNATURE-----