Discussion:
adding a directory/module at top of repository
KM
2013-06-27 20:02:47 UTC
Permalink
 
Sorry it's been so long since I've done this.... in looking at the manual I can't seem to find it.   simple question I have a CVS repository in /repository with a few directories already existing, for example "tools", "reports", "proj" etc.   I want to add "documentation".  Just the directory. the Developer will add the files later.
 
why don't I see it easily?  I'll keep looking but in case it's so simple.
 
I also have eclipse I can use if that is even easier.
Thank you and sorry.....
 
KM
KM
2013-06-27 20:57:24 UTC
Permalink
I figured it out.
thank you
KM


________________________________
From: KM <***@yahoo.com>
To: cvs-user-list <info-***@nongnu.org>
Sent: Thursday, June 27, 2013 4:02 PM
Subject: adding a directory/module at top of repository


 
Sorry it's been so long since I've done this.... in looking at the manual I can't seem to find it.   simple question I have a CVS repository in /repository with a few directories already existing, for example "tools", "reports", "proj" etc.   I want to add "documentation".  Just the directory. the Developer will add the files later.
 
why don't I see it easily?  I'll keep looking but in case it's so simple.
 
I also have eclipse I can use if that is even easier.
Thank you and sorry.....
 
KM
KM
2013-06-28 12:06:55 UTC
Permalink
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?  
 
thx
KM


________________________________
From: KM <***@yahoo.com>
To: KM <***@yahoo.com>; cvs-user-list <info-***@nongnu.org>
Sent: Thursday, June 27, 2013 4:57 PM
Subject: Nevermind: adding a directory/module at top of repository


I figured it out.
thank you
KM


________________________________
From: KM <***@yahoo.com>
To: cvs-user-list <info-***@nongnu.org>
Sent: Thursday, June 27, 2013 4:02 PM
Subject: adding a directory/module at top of repository
 

 
Sorry it's been so long since I've done this.... in looking at the manual I can't seem to find it.   simple question I have a CVS repository in /repository with a few directories already existing, for example "tools", "reports", "proj" etc.   I want to add "documentation".  Just the directory. the Developer will add the files later.
 
why don't I see it easily?  I'll keep looking but in case it's so simple.
 
I also have eclipse I can use if that is even easier.
Thank you and sorry.....
 
KM
Jim Hyslop
2013-06-28 12:42:32 UTC
Permalink
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
KM
2013-06-28 12:52:47 UTC
Permalink
thx so much ... very easy .... worked like a charm.
KM


________________________________
From: Jim Hyslop <***@dreampossible.ca>
To: KM <***@yahoo.com>
Cc: cvs-user-list <info-***@nongnu.org>
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
Post by KM
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
Loading...