In subversion is there a command to list all the available repositories registered on a particular host?
Eg. in ClearCase, a cleartool lsvob
would give me the listing of all the versioned databases in a given region. I have not been able to find anything akin to this in subversion.
svn list is most useful if you want to see what files a repository has without downloading a working copy: $ svn list http://svn.red-bean.com/repos/test/support README. txt INSTALL examples/ … For further details, see the earlier section the section called “Listing versioned directories”.
Check out files from Subversion repositoryIn the Get from Version Control dialog, click Add Repository Location and specify the repository URL. Click Check Out. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.
No. Each subversion repository is independent and knows nothing about the others. There would be no way to locate all of the subversion repositories.
We keep all of our repositories in a standard location (/data/svn
) and can easily and programatically list all of the repositories:
ls /data/svn
Or from a remote system:
ssh svn ls /data/svn
SVN repos have a distinct structure (/conf, /hooks, /db, /locks), so searching for one if its components would be a start.
If locate/updatedb is installed and current:
locate /db | grep /db$
Or by an exhaustive search:
find / -type d | grep /db$
A more sophisticated search would check for the full set of components.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With