info-cvs
[Top][All Lists]
Advanced

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

Re: Nope didn't: Nevermind: adding a directory/module at top of reposito


From: Jim Hyslop
Subject: Re: Nope didn't: Nevermind: adding a directory/module at top of repository
Date: Fri, 28 Jun 2013 08:42:32 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

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

On 13-06-28 8:06 AM, KM wrote:
> Well - no I didn't .  I thought it was good, but it ended up making
> 2 directories  xyz/xyz when I wanted xyz at the top of the tree.
> Why is this so hard?  anyway .... if I just want an empty directory
> added so others can check it out and add files - how do I do it?

These commands should do it, issued from any directory (note that this
assumes the $CVSROOT variable is set - if not, then in the co command
use the global -d option, `cvs -d XXX co -l .`

mkdir tmp
cd tmp
cvs co -l .
mkdir xyz
cvs add xyz
cd ..
rm -rf tmp

An alternative would be to create an entry in CVSROOT/modules.

- -- 
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHNhLgACgkQLdDyDwyJw+PW8wCg6ffYLZCyBK6Xhdh/Ul1f7AlR
jVgAoJrDcOM1U+gjd7uv8PHGOrYlyE0P
=fQQl
-----END PGP SIGNATURE-----



reply via email to

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