Checking out and editing files

Before you edit a file, you must check it out of the Helix Server depot.

To check out and edit a file:

  1. In the Solution Explorer, find the file that you want to edit.

    If necessary, retrieve the correct revision to your workspace. For more information, see Retrieving files from the depot.

  2. Right-click the file and choose one of the following:

    When you check a file out, it is placed in a changelist.

  3. Make your changes.
  4. To check your revised version back into the depot so that other users can view your changes and edit it, right-click the file and choose Submit…​

    In the Pending Changelist dialog, enter a description of your changes and submit the changelist that contains the file. For more information, see Checking in files.

To display a file without checking it out, double-click the file icon. It opens in read-only mode.

To lock a file to prevent others from checking it out while you are working on it, right-click the file icon and select Manage Files>Lock. To unlock it, right-click and select Manage Files > Unlock.

Note

When you try to edit or save a file that is checked into Helix Server, P4VS asks if you want to check it out (and save it, if you are attempting a save). It also gives you the following options: