Discussion:
listing all files from a cvs repository
smp
2009-09-10 06:22:32 UTC
Permalink
hello,

is there any command to list all files from a repository?
I want to send this command from PHP and show there a files.
rlog, checkout etc works fine.
--
View this message in context: http://www.nabble.com/listing-all-files-from-a-cvs-repository-tp25377967p25377967.html
Sent from the Gnu - Cvs - Info mailing list archive at Nabble.com.
Mark D. Baushke
2009-09-11 00:19:14 UTC
Permalink
Post by smp
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.
Post by smp
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

Loading...