代码之家  ›  专栏  ›  技术社区  ›  Fostah

从命令行执行自动解析?

  •  10
  • Fostah  · 技术社区  · 15 年前

    以下是P4V中的步骤:

    1. 右键单击CL。
    2. 选择“如果不存在冲突,则合并您的和他们的”。
    3. 单击“自动”。

    2 回复  |  直到 15 年前
        1
  •  13
  •   akf    15 年前

    你可以用 p4 resolve -am [file ...]

    如果指定一个文件,则只能处理该文件。如果您指定 ... ,您将处理工作目录下的文件。如果不指定文件,它将对工作区中的所有文件起作用。

        2
  •  8
  •   DeQuimet    11 年前

    我没有足够的声誉在接受的答案中添加评论,因此我将在新答案中添加信息。

    p4 resolve -c changelist#
    
        3
  •  0
  •   Eklavyaa    4 年前

    我遵循以下步骤,从命令行执行此操作。

    1. 在perforce client中,选择工作区中的文件夹。
    2. 选择文件->在此处打开终端窗口。终端将在步骤1中选择的同一目录中打开。
    3. 表演 使用选项 -n :

    1. 要接受来自perforce的自动合并,请使用 -上午 Automatic Mode. Automatically accept the recommended file revision: if theirs is identical to base, accept yours; if yours is identical to base, accept theirs; if yours and theirs are different from base, and there are no conflicts between yours and theirs; accept merge; otherwise, there are conflicts between yours and theirs, so skip this file.

    p4解析-c 1234-am