Bo Berglund <[EMAIL PROTECTED]> wrote: > On Thu, 7 Feb 2002 02:52:40 +0000 (UTC), "Steveneo" > <[EMAIL PROTECTED]> wrote:
>>BTW, how can I know how many projects(modules or directories) does a CVS >>reponsitory contain? such as I use "dir" or "ls" command. Is it impossible? >> > Yes, it is in principle impossible to do that using cvs. > There is a command (forgot the name) that looks in the modules file > and sends the result back, but this is only meaningful if someone > constantly updates this file manually. So it is of no use. > To be able to browse the repository you need another service running > on the CVS server. The one I use is CVSWEB and you can read more here: > http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm#CVSWEBIIS Actually, you can get the list of modules. I just updated the cvshome.org news to have this tidbit, too. 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. Andrew. _______________________________________________ Cvsnt mailing list [EMAIL PROTECTED] http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
