[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
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
More information about the cvsnt
mailing list