[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to get list of projects in cvs
From: |
Mark D. Baushke |
Subject: |
Re: how to get list of projects in cvs |
Date: |
Thu, 15 Nov 2007 09:52:26 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
harcrelc <address@hidden> writes:
> What's a command to get a list of all projects in my current cvs repo?
If you have a new version of cvs on the server, then 'cvs rls .' is a fine
idea.
Otherwise, a hack might be to do this:
mkdir dummy && cd dummy
cvs co -l -d top .
cvs -n up -d
: you should now get a 'cvs update: New directory <name> -- ignored'
: kind of output. The list of <name> directories is your top-level
: modules.
> I use cvs across the network, so.. I would like to be able to get a list
> of the dirs in cvs root in another machine.. really.
A way to get a list of all modules with ,v files in the repositiory
would be to use the command:
cvs rlog -R .
which should list out all of the ,v files in the repository. The
directories will be on lines whichbegin with 'cvs rlog: Logging '
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iD8DBQFHPIdaCg7APGsDnFERAvzcAJwKxUcD2NYHSkROoKaahTCe7rGrmACgnkK5
jYBzc2toRQKSGyIJEfxoqUk=
=pNDV
-----END PGP SIGNATURE-----