【问题标题】:How to create copy(workspace) of depot on local machine in P4?如何在 P4 的本地计算机上创建仓库的副本(工作区)?
【发布时间】:2014-10-13 22:22:10
【问题描述】:

perforce 中 mercurial 的 hg clone 命令等效于什么?

如何使用 P4 命令行命令创建工作区?

我试过了:

p4 sync //depot/my_depot/... //workspace/...

味精:

//depot/my_depot/... - must refer to client 'desk24'.
//workspace/... - must refer to client 'desk24'.

我们可以在 perforce 中标记,就像我们在 mercurial 中标记 hg tag 一样吗?

【问题讨论】:

标签: mercurial tags clone perforce


【解决方案1】:

要创建客户端工作区并使用软件仓库中的头部修订填充它:

p4 client
p4 sync

要克隆本地存储库(即将所有修订从软件仓库复制到您自己的本地软件仓库,并拥有自己的本地工作空间):

p4 clone -p P4PORT //depot/my_depot/...

【讨论】:

    【解决方案2】:
    猜你喜欢
    • 2016-12-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-01
    • 2019-07-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多