Revert Unchanged File

Revert Unchanged File

Windows
MacOS
Linux

Use currently set source control provider to revert a file provided no changes have been made. Note: Blocks until action is complete.

Target is Source Control Helpers

Revert Unchanged File
In File
Silent
Return Value

Inputs

In
Exec
In File
String

File to check out - can be either fully qualified path, relative path, long package name, asset path or export text path (often stored on clipboard)

Silent
Boolean

if false (default) then write out any error info to the Log. Any error text can be retrieved by LastErrorMsg() regardless.

Outputs

Out
Exec
Return Value
Boolean

true if succeeded, false if failed and can call LastErrorMsg() for more info.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss