Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在同一个工作区中有两个目录,我将一些文件搁置到第一个目录的更改列表中,现在我想将它们取消搁置到第二个目录中。我尝试了这个命令:
p4 -c my_workspace unshelve -s 17654070 -n -b //my_workspace/directory2 Branch '//my_workspace/directory2' unknown - use 'branch' command to create it.
我怎样才能让这个工作?
您需要创建一个分支规范来告诉服务器两个目录之间的关系。
p4 branch some_branch_name
在视图字段中放置:
//depot/directory1/... //depot/directory2/...
保存表单并运行p4 -c my_workspace unshelve -s 17654070 -n -b some_branch_name
p4 -c my_workspace unshelve -s 17654070 -n -b some_branch_name