定制的SVN深度值 [英] customized SVN depth value

查看:171
本文介绍了定制的SVN深度值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要SVN分支下所有文件夹名称的列表.但不能达到 INFINITE 深度.说我需要达到5级深度.

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..

有什么方法可以指定自定义的SVNdepth值?获取立即文件夹列表并进行迭代的问题是,每个文件夹都包含数百个子文件夹.

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.

使用的命令:
svn ls-深度无限 http://sample.com/repository/pag/branches/dev/
可以使用自定义值(数值)代替无穷大吗?如果可以,怎么办?

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?

谢谢

推荐答案

不幸的是,不支持数字深度.您应该为每个目录递归调用目录列表.

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

这篇关于定制的SVN深度值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆