In this section:

Offline mode basics

The Perforce plugin keeps a log of VCS operations performed while offline, and replays the log when the user comes back online. The log of operations is stored in the .iws file and persists between PyCharm restarts.

While offline, you can perform the following operations, which will be automatically replayed in online mode:

  • Edit
  • Add/Copy
  • Delete
  • Move/Rename
  • Revert
  • Move to another changelist
  • View Committed/Incoming changes (displaying cached information only).

The following operations are not supported in offline mode: update, commit, integrate, tracking of the unversioned, locally deleted and modified without checkout files (unversioned files are shown as unchanged), and any other operations that require server connection.

The performance of PyCharm Perforce integration in offline mode is considerably better than in online mode (because no server calls are required), so you might want to use offline mode even though connection to the Perforce server is successful.

When offline mode is activated, the following notification balloon appears:

perforceOffline1

This balloon fades after a while; Perforce is offline message appears at the bottom of the Local tab of the Changes tool window.

See Also

Reference:

Web Resources: