如何重命名perforce depot中的文件

如何重命名perforce depot中的文件,perforce,Perforce,重命名depot中的文件而不产生任何冲突的过程是什么 在p4或命令行中有任何方法吗?是的,但方法取决于您正在运行的Performance版本。下面介绍如何从命令行执行此操作(这是从“p4帮助重命名”的输出中复制的) In release 2009.1 and higher, you can use 'p4 move' to move or rename files. Perforce clients prior to release 2009.1 do not support 'p4 move'

重命名depot中的文件而不产生任何冲突的过程是什么


在p4或命令行中有任何方法吗?

是的,但方法取决于您正在运行的Performance版本。下面介绍如何从命令行执行此操作(这是从“p4帮助重命名”的输出中复制的)

In release 2009.1 and higher, you can use 'p4 move' to move or
rename files. Perforce clients prior to release 2009.1 do not
support 'p4 move'.  However, files in older clients can be
renamed by branching one file to another and deleting the
original file.  For example:

    p4 integrate fromFile toFile
    p4 delete fromFile
    p4 submit

For further information, see the help for the individual commands.

Note: Files renamed in this way are treated as branched files
rather than moved files in subsequent operations.