Files
UnrealEngineUWP/Engine/Plugins/Developer/PerforceSourceControl
paul chipchase 2b46e43a0f Fixed a bug where FPerforceSourceControlProvider::SwitchWorkspace was not correctly switching to the new workspace
#rb PJ.Kack
#rnx

- Bug was intorduced in CL 26952096
- EConnectionOptions::WorkspaceOptional means we should not test if a workspace is valid but if one is provided it should still be used but in the above change EnsureValidConnection was changed and this resulted in the code discarding the workspace entirely if that option was used.
- If that option is used we just pass the input workspace name (if there is one) to the output structure and trust that the caller knows what they are doing.

[CL 27953007 by paul chipchase in ue5-main branch]
2023-09-18 06:00:16 -04:00
..