显示MKS沙箱的非成员

时间:2014-11-05 15:11:15

标签: version-control mks mks-integrity

我尝试获取Sandbox的非成员。但是我得到了这些有趣的信息。

si viewnonmembers -sandbox=D:\Sandboxes\project.pj

*** MKS124814: Cannot show view information: MKS125335: Out of tree members and
subprojects (not located in the project directory or a subdirectory of the proje
ct directory) are not supported.

2 个答案:

答案 0 :(得分:0)

非成员只能在沙盒上下文中查看,而不能在任何项目视图操作中查看。

因此,在执行命令之前,您应该跳转到本地沙箱位置:

cd SandboxFolderPath

当您在沙盒文件夹中时,可以执行

si viewnonmembers 

答案 1 :(得分:0)

si viewnonmembers的帮助下,您可以使用选项--cwd=value Act as if command executed in specified directory,因此命令应如下所示:

si viewnonmembers --sandbox="D:\sandbox\test\project.pj" --cwd="D:\sandbox\test"

或使用--recurse选项跳过Do you want to recurse into the directory...

si viewnonmembers --sandbox="D:\sandbox\test\project.pj" --cwd="D:\sandbox\test" --recurse

根据您的服务器配置,.pj可能不是project.pj