customized SVN depth value

倾然丶 夕夏残阳落幕 提交于 2020-01-05 07:11:13

问题


I need a list of all folder names under a branch in SVN. But not upto INFINITE depth.. Say i need upto 5 level of depth..

Is there any way to specify customized SVNdepth value? The problem in getting a immediate folder list and iterating is, each folder contains hundreds of sub-folder.

command used :
svn ls --depth infinity http://sample.com/repository/pag/branches/dev/
Instead of infinity can we use customized value(numeric value)? if so how?

Thanks


回答1:


Unfortunately numeric depths are not supported. You should call directory listing recursively for every directory.



来源:https://stackoverflow.com/questions/11859863/customized-svn-depth-value

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!