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.
tip
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.
Go to offline mode
When offline mode is activated, the following notification balloon appears:
This balloon fades after a while; Perforce is offline message appears at the bottom of the Local Changes tab of the Perforce tool window.
Automatically, when the Perforce server becomes unavailable. PyCharm switches to the offline mode automatically, and displays an offline notification in a popup. To enable this behaviour, select the Switch to offline mode automatically if Perforce is unavailable checkbox in the Perforce page of the Settings dialog.
Manually at anytime, by choosing VCS | Perforce and select Work Offline From the context menu.
Return to online mode
Choose VCS | Perforce and clear Work Offline.
In the offline notification balloon, click the Go online link.
In the Changes view, click the Go online link:
Thanks for your feedback!
Was this page helpful?
Cookie Settings
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.