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: KM
Subject: Re: Nope didn't: Nevermind: adding a directory/module at top of repository
Date: Fri, 28 Jun 2013 05:52:47 -0700 (PDT)

thx so much ... very easy .... worked like a charm.
KM
 

________________________________
 From: Jim Hyslop <address@hidden>
To: KM <address@hidden> 
Cc: cvs-user-list <address@hidden> 
Sent: Friday, June 28, 2013 8:42 AM
Subject: Re: Nope didn't: Nevermind: adding a directory/module at top of 
repository
  

-----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]