列出所有 svn:externals 递归? [英] List all svn:externals recursively?
问题描述
如何获取目录中所有 svn:externals 的列表(递归)?这有什么用处吗?
How can I get a list of all svn:externals (recursively) in a directory? Is there any utility for this?
(我使用的是 Windows(和乌龟))
(I'm using Windows (and tortoise))
我有一堆 svn:externals 链接到我项目的不同共享部分,当我分支时,通常很容易出错,找到所有外部对象并更改它们以便链接到新分支中的路径.
I have a bunch of svn:externals linking to different shared parts of my project and I when I branch it's usually quite error prone to find all externals and changed them so that the link to paths within the new branch.
推荐答案
在工作副本的根目录中执行以下操作:
Do the following in the root of your working copy:
svn propget svn:externals -R
正如下面的评论中所讨论的,这不会在 externals 中列出 externals.
As discussed in the comments below, this does not list externals in externals.
TortoiseSVN 用户注意:TortoiseSVN 安装程序中有一个选项可以安装 SVN 命令行客户端.默认情况下不启用此选项.
Note for TortoiseSVN users: there is an option in the TortoiseSVN installer to also install the SVN command line client. This option is not enabled by default.
这篇关于列出所有 svn:externals 递归?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!