Files
UnrealEngineUWP/Engine/Plugins/Developer/PerforceSourceControl
paul chipchase 50655b3fd6 Do not try validating the perforce connection when switching to not using a workspace.
#rb Per.Larsson
#jira UE-160083
#rnx
#preflight 62f507c7b66d5d93139804a6

- If we are switching workspaces then we already know that the existing perforce settings are correct.
- The only reason we have to validate them is if we are switching to a different workspace and need to make sure that it exists.
- If we are just removing the workspace name entirely (which is valid for a number of operations) then we have nothing to check and we can just remove the workspace name from our p4 settings structure.
- This saves issuing a few pointless p4 commands.

[CL 21353145 by paul chipchase in ue5-main branch]
2022-08-12 06:59:24 -04:00
..