Though Subversion integration allows you to successfully modify and merge files changed by different team members, sometimes it makes sense to lock files (for example, images) to avoid overwriting changes.

To lock a file:

  1. Select the file you want to lock in the Project tool window or open it in the editor.
  2. From the main menu, select VCS | Subversion | Lock from the main menu, or Subversion | Lock from the context menu of the selection.
  3. Specify the lock name in the Lock File dialog that opens.

To unlock a file, select the file you want to unlock, or open it in the editor, and choose VCS | Subversion | Unlock from the main menu, or Subversion | Unlock from the context menu of the selection.

To forcibly break the lock set by somebody else, select the Steal Existing Lock check box.