This option will keep trying when the perforce server times out. That can be useful when perforce servers are overloaded and users have bad connections and continually get kicked. It is currently defaulted to off. In the future we may consider defaulting this number to around 1000. The setting can be found under Options->Application Settings->Advanced->Retries on sync error.
#review-20335338 @Devlin.Willis @Spencer.Melnick @Daniel.Broder @ben.marsh
#fyi @david.hamm
#jira FORT-481018
#test Pulled down entirly new branch twice.
#preflight 628be7b5e45021d097ebb1ea
[CL 20337247 by joel anderson in ue5-main branch]
* Support for creating workspaces using native P4 client, so "ugs init" now works correctly.
* Output a list of files which need to be clobbered when syncing, and add a -Clobber option to confirm intent.
* Fix exception accessing folders that user does not have permissions to when detecting a new workspace.
#preflight none
[CL 18618091 by Ben Marsh in ue5-main branch]
Currently only tested on Windows; Mac/Linux ports to follow. Workspace state and core implementation is shared with the WinForms application, allowing switching between command line and GUI as needed.
Currently implemented commands are:
ugs init [stream-path] [-client=..] [-server=..] [-user=..] [-branch=..] [-project=..]
Create a client for the given stream, or initializes an existing client for use by UGS.
ugs switch [project name|project path|stream]
Changes the active project to the one in the workspace with the given name, or switches to a new stream.
ugs config
Updates the configuration for the current workspace.
ugs sync [change|'latest'] [-build] [-only]
Syncs the current workspace to the given changelist, optionally removing all local state.
ugs build [id] [-list]
Runs the default build steps for the current project, or a particular step referenced by id.
ugs status [-update]
Shows the status of the currently synced branch.
#preflight none
[CL 18550725 by Ben Marsh in ue5-main branch]