Behavior preferences

You can configure certain P4V user interface behaviors from Preferences > Behavior. What follows is a subset.

Prompts

  • Warn before reverting files: Specifies whether P4V displays a prompt before reverting files.
  • Warn when ignored files are not marked for add: Select to view a warning when you attempt to mark a file in your workspace for add and it is included in an ignore list.

    If you have created ignore lists and set the ignore list file name as the local P4IGNORE environment variable, P4V will not mark the files and file types listed in those ignore lists for add. The warning appears when you attempt to mark such a file for add or use the Reconcile process to add the file to the Helix Server depot.

    For more information about ignore lists and P4IGNORE, see Ignoring groups of files when adding in the Helix Core Command-Line (P4) Guide.

  • Prompt for changelist when checking out, adding, or deleting files: Specifies whether P4V displays the Choose changelist dialog when you open files.
  • Prompt to get latest revision when checking out files that are out of date: Specifies whether P4V displays a prompt to get the latest revision when you attempt to check out files from an earlier revision.
  • Update files when modifying workspace mappings: Select an option:

    • Prompt to update workspace files to have P4V ask for confirmation when modified workspace mappings affect the files in your workspace.
    • Automatically update workspace to have P4V overwrite workspace files without asking for confirmation.
    • Never update workspace files to keep workspace files unchanged when you modify workspace mappings.
  • Prompt for name when creating new workspace: By default, this prompt is turned off.

    Note

    If this feature is set on the server side, selecting or clearing this check box has no effect. You cannot override server-side configurations.

  • Warn before checking out files, if the number of files exceeds <xxx>: The default is 1000 files.

    Note

    Selecting this option may cause performance issues.

  • Warn before marking files for delete, if the number of files exceeds <xxx>: The default is 100 files.
  • Warn before removing files from workspace, if the number of files exceeds <xxx>: The default is 1000 files. To always require a confirmation, set to 0.
    Note

    Selecting this option may cause performance issues.

Sync and resolve

Options to automate the following, thus streamlining your workflow by avoiding manual steps:

  • Sync files to the latest revision after they are unshelved.

  • Resolve option when syncing files:

    • Safe automatic resolve (no merging)

    • Automatic resolve (allow merging)

If you choose to enable both options, a single step can perform unshelving, getting the latest revision, and resolving (with your choice of merging or no merging). However, to protect your work, if there are conflicts, no automatic resolve occurs and manual resolving is necessary.