# Question about the code implementation of Source Control. 

**URL:** <https://forums.unrealengine.com/t/question-about-the-code-implementation-of-source-control/2726905>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [May 8, 2026, 7:28am UTC](https://forums.unrealengine.com/t/question-about-the-code-implementation-of-source-control/2726905 "2026-05-08T07:28:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [May 8, 2026, 7:28am UTC](https://forums.unrealengine.com/t/question-about-the-code-implementation-of-source-control/2726905/1 "2026-05-08T07:28:42Z")

</div>

[Image Removed]I really don’t understand why this check is necessary. P4 clearly doesn’t allow a file to exist in different changelists, so I can’t construct this case.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [May 8, 2026, 7:28am UTC](https://forums.unrealengine.com/t/question-about-the-code-implementation-of-source-control/2726905/2 "2026-05-08T07:28:46Z")

</div>

**重现步骤** [Attachment Removed]

---

<div class="post-metadata">

**Author:** ![itho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/itho/32/1130265_2.png) [@itho](https://forums.unrealengine.com/u/itho)\
**Post date:** [May 8, 2026, 11:58am UTC](https://forums.unrealengine.com/t/question-about-the-code-implementation-of-source-control/2726905/3 "2026-05-08T11:58:37Z")

</div>

This check could be triggered in the case where a submit is done external to the editor (e.g. from P4V) and has also been reported after submits from within the editor.

The check in SSourceControlChangelistsWidget::OnRefreshSourceControlWidgets has since been updated in the change linked below to handle duplicates gracefully.

Now, when it is detected we request a changelists refresh in the next tick by setting bShouldRefresh to true.

[https://github.com/EpicGames/UnrealEngine/commit/301512e99c02825bf876d9426d817444e68391c2](https://github.com/EpicGames/UnrealEngine/commit/301512e99c02825bf876d9426d817444e68391c2)

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [May 9, 2026, 6:14am UTC](https://forums.unrealengine.com/t/question-about-the-code-implementation-of-source-control/2726905/4 "2026-05-09T06:14:55Z")

</div>

However, the user who triggered this check didn’t perform this operation. Thank you for your explanation. I’ll save the current situation and analyze it again next time it happens.😊

[Attachment Removed]
