@@ -517,15 +517,6 @@ def sync_handler(sync_val: str, repository_val=None):
517
517
symbols_needed = pbunreal .is_versionator_symbols_enabled ()
518
518
pbunreal .clean_binaries_folder (not symbols_needed )
519
519
520
- configured_branches = pbconfig .get ("branches" )
521
- should_unlock_unmodified = (
522
- pbgit .get_current_branch_name () in configured_branches
523
- )
524
- fix_attr_thread = threading .Thread (
525
- target = pbgit .fix_lfs_ro_attr , args = (should_unlock_unmodified ,)
526
- )
527
- fix_attr_thread .start ()
528
-
529
520
pblog .info ("------------------" )
530
521
531
522
pblog .info ("Checking for engine updates..." )
@@ -535,6 +526,15 @@ def sync_handler(sync_val: str, repository_val=None):
535
526
f"Something went wrong while updating the uproject file. Please request help in { pbconfig .get ('support_channel' )} ."
536
527
)
537
528
529
+ configured_branches = pbconfig .get ("branches" )
530
+ should_unlock_unmodified = (
531
+ pbgit .get_current_branch_name () in configured_branches
532
+ )
533
+ fix_attr_thread = threading .Thread (
534
+ target = pbgit .fix_lfs_ro_attr , args = (should_unlock_unmodified ,)
535
+ )
536
+ fix_attr_thread .start ()
537
+
538
538
engine_version = pbunreal .get_engine_version_with_prefix ()
539
539
if engine_version is not None :
540
540
pblog .info (
0 commit comments