When the pull fails, it does not clean up after itself.
steps:
run wvs pr status
-- remote changes appear in the output
C:\proj\cropout-example-test>wvs pr status
CHANGELISTS
CL default: 'Default Changelist'
None
UNMANAGED CHANGES (Not in any changelist)
M Cropout/Cropout.uproject
PROJECT ON WVS.IO
Changes on Remote (not yet synced locally)
a img/cropout_fork.png
a img/cropout_fork1.png
a img/downloads.png
a img/webide.png
m Cropout/Content/Blueprint/Villagers/BP_Villager.uasset
m Cropout/Content/Environment/Environment/Materials/BGFog.uasset
m README.md
Files currently locked by others
Cropout/Content/Environment/Materials/Mat_Functions/MF_SimpleWind.uasset (Sopisey Robinson)
Cropout/Content/Environment/Materials/M_Grass.uasset (Sopisey Robinson)
Cropout/Content/Village.umap (Sopisey Robinson)
OK
run wvs pr pull
C:\proj\cropout-example-test>wvs pr pull
From wvs.io:sopisey/cropout-example-test
= [up to date] main -> origin/main
= [up to date] Test1 -> origin/Test1
= [up to date] abc -> origin/abc
= [up to date] test2 -> origin/test2
Updating 54a269a..380a41d
error: unable to unlink old 'Cropout/Content/Blueprint/Villagers/BP_Villager.uasset': Invalid argument
error: unable to unlink old 'Cropout/Content/Environment/Environment/Materials/BGFog.uasset': Invalid argument
Created autostash: bdd86a2
Updating files: 100% (7/7), done.
Filtering content: 100% (4/4), 465.43 KiB | 228.00 KiB/s, done.
Applied autostash.
Error: error occurred while attempting to pull
ERR
Check to see which branch I am on and which is available
C:\proj\cropout-example-test>wvs branch get
main
OK
C:\proj\cropout-example-test>wvs branch list
abc
main
Test1
test2
OK
Switched to a new branch
C:\proj\cropout-example-test>wvs branch set test2
M Cropout/Cropout.uproject
M README.md
branch 'test2' set up to track 'origin/test2'.
Switched to a new branch 'test2'
OK
issued another status
command
C:\proj\cropout-example-test>wvs pr status
CHANGELISTS
CL default: 'Default Changelist'
None
UNMANAGED CHANGES (Not in any changelist)
A img/cropout_fork.png
A img/cropout_fork1.png
A img/downloads.png
A img/webide.png
M Cropout/Cropout.uproject
M README.md
PROJECT ON WVS.IO
Changes on Remote (not yet synced locally)
None
Files currently locked by others
Cropout/Content/Environment/Materials/Mat_Functions/MF_SimpleWind.uasset (Sopisey Robinson)
Cropout/Content/Environment/Materials/M_Grass.uasset (Sopisey Robinson)
Cropout/Content/Village.umap (Sopisey Robinson)
OK
Now those remote changes appear in unmanaged
NOtes from Marcel:
The problem above is that the pull actually failed, but it did not clean up after itself. So, it fetched a bunch of files, then failed because you had files open and it could not deal with that, and then it exited, leaving the files it had already gotten. If the pull had succeeded, the modified files that it did pull would not be showing up in unmanaged. However because it did fail, leaving behind a partially pulled set of files, but not updating the local repo to say it had been pulled, it leaves this mess.
The solution and the bug is that when pull fails, it does not clean up after itself.