Perforce p4状态-仅适用于Performce workspace的子目录

Perforce p4状态-仅适用于Performce workspace的子目录,perforce,p4v,perforce-client-spec,perforce-branch-spec,p4python,Perforce,P4v,Perforce Client Spec,Perforce Branch Spec,P4python,在我的perforce workspace视图中有这样的文件夹 //depot/... //rajesh_ws/... 其中//仓库/。。。有所有的源代码和编译后的代码将被复制到bin子目录。我正在同步//depot/…&在bin sub directoryr中构建并复制二进制文件 现在我想在Perforce中提交bin文件夹(//rajesh_ws/bin/…),而不是在构建过程中生成许多其他文件的所有(//rajesh_ws/…) 当我使用“p4 status-A”和“p4 submit”

在我的perforce workspace视图中有这样的文件夹

//depot/... //rajesh_ws/...
其中//仓库/。。。有所有的源代码和编译后的代码将被复制到bin子目录。我正在同步//depot/…&在bin sub directoryr中构建并复制二进制文件

现在我想在Perforce中提交bin文件夹(//rajesh_ws/bin/…),而不是在构建过程中生成许多其他文件的所有(//rajesh_ws/…)

当我使用“p4 status-A”和“p4 submit”时,它会提交所有文件,包括//rajesh_ws/。。。但我只想提交bin文件夹中的文件。有什么想法吗

我使用p4pythonapi实现同样的功能

脚本片段

p4.run("status", "-A")
p4.run_submit( "-d", "Modifying bin folders")

请建议提供路径作为至少一个命令的参数:

p4 status -A //rajesh_ws/bin/...
p4 submit -d "Modifying bin folders" //rajesh_ws/bin/...
“p4状态”将仅打开与文件参数匹配的文件(使其他未打开的文件处于未打开状态);“p4提交”将仅提交与文件参数匹配的打开文件(使其他打开的文件处于打开状态)