Re: listing all files from a cvs repository

"Mark D. Baushke" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
smp <[email protected]> writes:

> is there any command to list all files from a repository?

For cvs 1.12.x, use 'cvs -n rls -lR .'
For cvs 1.11.x, use 'cvs -n rlog -R .'

Note: CVSNT also supports the 'rls' command.

> I want to send this command from PHP and show there a files.
> rlog, checkout etc works fine.

If the repository is large, you will find that this will be very
painfully slow and may cause timeouts as the entire directory is
traversed.

Generally, I find that dumping all of the pathnames into a MySQL
database that gets updated a few times a day with the pathnames
is easier on the repository server and a web UI...

	Enjoy!
	-- Mark
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFKqZeCCg7APGsDnFERAgI4AJ93H023wws2udZKMGnLrEfC1piSTACdEJiO
RBT1uiZzuCtpJ3kG2C5qcdk=
=lgz1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.