2

In perforce, I have several shelved changelists. I want to move the files from all of these shelved changelists to a new changelist.

I can do this with p4 reopen -c [new changelist no.] [file 1, file 2, etc], but it's laborious to copy and paste the names of each opened file from the previous changelists.

Is there a faster / better way to do this?

4

1 回答 1

2

如果您要移动搁置的文件,可以使用unshelve命令来执行此操作。您可以p4 unshelve -s <shelved changelist> -c <target changelist>为每个搁置的更改列表运行。

如果文件已经在搁置的更改列表中打开,我很确定您需要先恢复它们。

于 2014-03-14T16:58:01.947 回答