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

Attachment: pgpv9lWqjzJek.pgp
Description: PGP signature

Reply via email to