Commit Graph

4 Commits

Author SHA1 Message Date
Ben Marsh
b900bab8d1 P4VUtils: Fix compile errors after recent changes to EpicGames.Perforce library.
#preflight none
#fyi Andrew.Firth

[CL 18643289 by Ben Marsh in ue5-main branch]
2022-01-18 13:28:42 -05:00
Ben Marsh
1f185de5a4 Combine interface for creating native and external Perforce client connections.
- PerforceEnvironment class now allows querying the state of Perforce environment variables in a client agnostic way. (Supports system environment variables on Mac/Linux, and registry on Win32. Also reads settings from any P4ENVIRO file, and P4CONFIG files when initialized with a directory.)
- Connection settings are now stored in a PerforceSettings object, with a read-only IPerforceSettings interface. Both clients can be initialized through the same parameter block.
- A connection can be created using the PerforceConnection.CreateAsync() method. Specifying the IPerforceSettings.PreferNativeClient will create a NativePerforceConnection implementation where possible.

[CL 18464429 by Ben Marsh in ue5-main branch]
2021-12-14 21:31:40 -05:00
Ben Marsh
78ca05b4ce P4VUtils: Enable static analysis.
[CL 18449401 by Ben Marsh in ue5-main branch]
2021-12-13 17:09:39 -05:00
Maxime Mercier
1a49c53b87 New perforce tools
Data tools:
* Convert data to local writable -> Convert All data in changelist or all selected data files to local writable

Unshelving tools:
* Unshelve to current revision -> Remembers revision all files you are about to unshelve and if the revision is older, will sync to saved revision
* Unshelve and make data writable -> Unshelve changelist but for data will make them writable locally

#jira none
#review-17681604
#rb Andy.Firth Brandon.Dawson
#preflight skip

#robomerge 5.0
#robomerge FnMain

[CL 18039467 by Maxime Mercier in ue5-main branch]
2021-11-03 15:49:48 -04:00