Perforce Repository Integration Setup

System Requirements

To work with Perforce, Review Assistant requires P4 (Command-Line Client). You can download it from the Perforce official website.

Note: If you already work with Perforce, for example, via 4V (visual client), or via P4VS (Perforce Plug-in for Visual Studio), no additional installation is required.

To set up an integration with a Perforce repository for the project:

  1. Click the Options button on the Code Review Board.

  2. Go to the Projects tab.

  3. Select a project from the list.

  4. Click Add New Repository.

  5. Select Perforce as a repository type.

  6. Specify a Host — your Perforce server URL, for example: PerforceServer:8080

  7. Specify the Perforce server settings

    Remote directory — Perforce server-side directory. For example: //depot/MyProject

    Working directory — where you check out the source code. For example: c:\Users\UserName\Perforce\MyProject

  8. Enter a Description.

  9. Click Credentials, and enter the login information to connect to Perforce, then click OK.

    You will be notified when a connection is established (or if the connection failed).

  10. Click Apply.

  11. Go to the Version Control tab.

  12. Provide path to the p4.exe file.

Note: Working directory path may vary for different PC’s; If you change this settings, they will be stored only for current Windows user.

Note: If you enter a new working directory or change the existing one, you can also set it as a default directory or reset it to the default value.