info-cvs
[Top][All Lists]
Advanced

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

Re: help with adding a new top level directory


From: Mark D. Baushke
Subject: Re: help with adding a new top level directory
Date: Tue, 19 Oct 2004 15:00:55 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Connor T <address@hidden> writes:

> I want to add a new top level directory, but every time i try to do this it
> seems the only way is to import as cvs add says to checkout first!
>
> However i dont want to import, because i only want to add some, not all of
> the files.
> 
> So whats the solution?

cvs checkout -d top .
cd top
mkdir new-top-level-directory
cvs add new-top-level-directory
cd new-top-level-directory
cp -pr /place/with/files/I/want/to/add .

At this point you can choose to add whatever you
wish. If you want any of the subdirectories added,
you will first need to add them to the repository
something like this:

  find . -name CVS -prune -o -type d --exec cvs add {} \;

or you could do it individually.

Now you can do 'cvs add' operations on whatever
files you wish.

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBdY6X3x41pRYZE/gRArW1AJ9Lw+IbAnhwOeom1eR8CrrQHPwoSACZAY4m
aZ/tN1dNCbcAt3Z34WOgwms=
=rNQy
-----END PGP SIGNATURE-----




reply via email to

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