[Cvsnt] How can checkout CVSROOT/modules

aw_asdf.spam at me.not.yahoo.com aw_asdf.spam at me.not.yahoo.com
Sun Feb 10 01:32:55 GMT 2002


aw_asdf.spam at me.not.yahoo.com wrote:
> If you run:
>    cvs history -c -a -l | awk '{sub(/[/].*/,"",$8); print $8;}' | sort -u

> You will get the list of top-level directories in your CVS repo
> (assuming of course that you have "awk" and a POSIX-ish "sort"
> on hand.

[ following up to my own post ]

I should perhaps mention here that the "awk" and "sort" portions
aren't required to find the top-level directories; they are
required to eliminate the verbose directory structure listed
under the top-level directories.

    cvs history -c -a -l

will get you all the projects from the top level, and more.

Andrew.

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list