Working Offline

Published by Marco on in Perforce

What happens when changes are made to files that need to applied to a Perforce depot? This usually happens for one of the following reasons:

  • You have been working offline—on a notebook without an internet connection.
  • You have a new version of third-party code that must be uploaded.

The following instructions apply to the Windows client (P4WIN) only; other clients and operation systems will have to use the longer instructions located at How do you work disconnected from the Perforce Server?

  1. Select the folder in the depot.
  2. From the menu, select File => More => Check Consistency.
  3. Perforce will (eventually) show a dialog with changed or deleted files.
  4. Select the changelist to which you’d like to add them and click Ok.
  5. Follow instructions for Adding New Files to add all new files to in that folder.
  6. Perforce now knows about all the changes that have been made “offline”.
  7. Submit the changes to update the depot.