2

競合を起こさずにデポ内のファイルの名前を変更するプロセスは何ですか?

p4またはコマンドラインに方法はありますか?

4

1 に答える 1

7

はい。ただし、実行しているPERFORCEのバージョンによって方法が異なります。コマンドラインから実行する方法は次のとおりです(これは「p4helprename」の出力からコピーされます)。

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.
于 2012-11-08T22:29:50.060 に答える