[Cvsnt] How can checkout CVSROOT/modules

aw_asdf.spam at me.not.yahoo.com aw_asdf.spam at me.not.yahoo.com
Sat Feb 9 16:33:20 GMT 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Bo Berglund <bo.berglund at telia.com> wrote:
> On Thu, 7 Feb 2002 02:52:40 +0000 (UTC), "Steveneo"
> <steveneo at 21cn.com> 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
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook