Perforce “领导”是什么意思-&引用;(破折号)`p4输出中的平均值,其中`?
我有一个单独的depot目录(Perforce “领导”是什么意思-&引用;(破折号)`p4输出中的平均值,其中`?,perforce,Perforce,我有一个单独的depot目录(//depot/branch),映射到工作区中的三个位置(//user\u space)。p4的输出,其中如下所示 $ p4 where //depot/branch/README.md -//depot/branch/README.md //user_space/branch/README.md C:\dev\branch\README.md -//depot/branch/README.md //user_space/branch2/README.md
//depot/branch
),映射到工作区中的三个位置(//user\u space
)。p4的输出,其中
如下所示
$ p4 where //depot/branch/README.md
-//depot/branch/README.md //user_space/branch/README.md C:\dev\branch\README.md
-//depot/branch/README.md //user_space/branch2/README.md C:\dev\branch2\README.md
//depot/branch/README.md //user_space/branch3/README.md C:\dev\branch3\README.md
命令输出中前导虚线的含义是什么
似乎没有解释这一点。您链接到的文档有一个示例:
-//a/b/file.txt //client/a/b/file.txt //home/_user_/root/a/b/file.txt
//a/b/file.txt //client/b/file.txt /home/_user_/root/b/file.txt
它这样解释:
This can be interpreted as saying that the first line of the client
view would have caused the file to appear in /home/user/root/a/b/file.txt,
except that it was overridden by the second mapping in the view.
更一般地说,前导连字符用于从逻辑上删除客户端视图规范中的一行(我不再每天使用perforce,因此忘记了正确的术语)。您链接到的文档有一个示例:
-//a/b/file.txt //client/a/b/file.txt //home/_user_/root/a/b/file.txt
//a/b/file.txt //client/b/file.txt /home/_user_/root/b/file.txt
它这样解释:
This can be interpreted as saying that the first line of the client
view would have caused the file to appear in /home/user/root/a/b/file.txt,
except that it was overridden by the second mapping in the view.
更一般地说,前导连字符用于从逻辑上删除客户端视图规范中的一行(我不再每天使用perforce,因此我忘记了正确的术语)。这是一个减号(如3-2=1
);它表示排除
结果表明:
- 此文件未映射到
branch1
- 此文件未映射到
branch2
- 此文件映射到
branch3
- 这是一个减号(如
3-2=1
);它表示排除
结果表明:
- 此文件未映射到
branch1
- 此文件未映射到
branch2
- 此文件映射到
branch3