Next: , Previous: How can I get a list of all tags in a project?, Up: Some Real Life Problems (With Solutions)


How can I get a list of all projects in a repository?

As with getting a list of tags, this is not implemented in the most current version of CVS, but it's highly likely that it will be implemented soon. I imagine the command will be called cvs list with a short form of cvs ls, and it probably will both parse the modules file and list the repository subdirectories.

In the meantime, examining the CVSROOT/modules file (either directly or by running cvs checkout -c) is probably your best bet. However, if no one has explicitly made a module for a particular project, it won't show up there.

Karl Fogel wrote this book. Buy a printed copy via his homepage at red-bean.com

copyright  ©  February 22 2019 sean dreilinger url: https://durak.org/sean/pubs/software/cvsbook/How-can-I-get-a-list-of-all-projects-in-a-repository_003f.html