See also UE-43603 to cover handling this case fully correctly, cloned from this issue which is specifically to avoid the crash.
A UDN user found a crash in the merge tool when using SVN.
https://udn.unrealengine.com/questions/265740/crashbug-with-svn-merging.html
The failing check() crash occurs in LoadBaseRev (Merge.cpp):
TSharedPtr<ISourceControlRevision, ESPMode::ThreadSafe> Revision = SourceControlState.GetBaseRevForMerge();
check(Revision.IsValid()); /// <- This fails
This is because SourceControlState.GetBaseRevForMerge() returns a null ISourceControlrevision. Which is because FSubversionSourceControlState::PendingMergeBaseFileRevNumber is not a valid revision for the particular file that is merging. The PendingMergeBaseFileRevNumber revision appears to be "head - 1" but the revision history array may not contain an entry for this as there may be gaps in the revision sequence for a particular file.
Perform a merge on a Blueprint that has gaps in its revision sequence in its history.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-22428 in the post.
0 |
Component | UE - Gameplay - Blueprint Editor |
---|---|
Target Fix | 4.16 |
Created | Oct 21, 2015 |
---|---|
Resolved | Apr 4, 2017 |
Updated | Dec 12, 2023 |