开发者

svnkit: how to enumerate svn repositories in a root directory?

开发者 https://www.devze.com 2022-12-08 08:01 出处:网络
How do you use svnkit to enumerate svn repositories i开发者_运维问答n a root directory?I think (I worked with svn kit 1 year ago) you have to manually list all directories next to your repository path

How do you use svnkit to enumerate svn repositories i开发者_运维问答n a root directory?


I think (I worked with svn kit 1 year ago) you have to manually list all directories next to your repository path:

So if your repopath is:

/var/svn/myrepo

you should list

/var/svn/

and check all directories by connecting to them (just try to svn ls)


I don't know much about svnkit but consider performing a recursive search for a svn file that indicates the presence of a svn repository...

I forget the structure of a svn repo but look for hidden files and folders that start with ".". I think .svn is a hidden folder that indicates a svn repo?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号