0

我正在尝试为 perforce 添加新内容。我收到如下错误

[错误]:“'//workspaceXXXX//xxxx.txt'中不允许空目录(//)。”

我在做什么:

1)我创建一个工作区

self.p4.client = "workspaceXXXX"
client = self.p4.fetch_client("workspaceXXXX")
client._root = "../temp/"workspaceXXXX""
depotPath = "//TEAM/PATH_1/PATH_2/2018-Aug-06/..."
wsPath = "//workspaceXXXX/..."
client._view = [depotPath+" "+wsPath] 
"""Create a workspace"""
self.p4.save_client(client)

2)将新的放在工作区中

3) 添加文件

self.p4.run("add", "//TEAM/PATH_1/PATH_2/2018-Aug-06/xxxx.txt")

添加文件时遇到上述错误。我在这里做错了什么。

4

0 回答 0