[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: listing all files from a cvs repository
From: |
Mark D. Baushke |
Subject: |
Re: listing all files from a cvs repository |
Date: |
Thu, 10 Sep 2009 17:19:14 -0700 |
smp <address@hidden> 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
pgpAgqKBkwdel.pgp
Description: PGP signature