Commit Graph

7 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
andrew firth
a13ce99b3a [P4VUtils] - fix up FileSpecList usage when null is being passed in.
#review-17397028 @Ben.Marsh (post)

[CL 17397042 by andrew firth in ue5-main branch]
2021-09-01 22:55:09 -04:00
Ben Marsh
9298370c22 P4VUtils: Fix some exceptions caused by long command lines.
#rb none
#rnx

[CL 16000723 by Ben Marsh in ue5-main branch]
2021-04-13 23:24:45 -04:00
Ben Marsh
ff0c479d25 P4VUtils: Fix log output when converting multiple files to edit.
#rb none
#rnx
#jira UE-109912

[CL 15675523 by Ben Marsh in ue5-main branch]
2021-03-11 07:28:31 -04:00
Ben Marsh
6ad701d372 P4VUtils: Handle invalid or missing arguments gracefully.
#rb none
#rnx

[CL 15277817 by Ben Marsh in ue5-main branch]
2021-02-01 22:18:19 -04:00
Ben Marsh
3eb7a78da1 P4VUtils: Add cherry-pick, and convert-to-edit commands.
#rb none
#rnx

[CL 15252076 by Ben Marsh in ue5-main branch]
2021-01-28 18:04:48 -04:00