Lock is not being reverted after checking out a modified file
Closed this issue · 2 comments
ThatDudeLawr commented
I cannot manage to revert a file and have its lock removed after modifying it.
Steps to reproduce:
- Open a file
- Change some values inside of it
- Save the file and have it checked out/locked
- Revert that file
- Notice that the file is being reverted but kept locked (with a different icon as in a different user has it locked)
Edit:
If I'm manually checking out the file before modifying the file and reverting it afterwards this issue is not occurring.
mastercoms commented
Make sure your lfs locking username is set correctly. For the git plugin, reverts take 2 steps: revert content, then revert lock.
ThatDudeLawr commented
I think that was it.
In case there are other people with a similar issue, I am using Azure Devops and apparently there was a conflict between the Full Name on the Azure Devops account (which I believe it's the username used by it) and the Git/Unreal Username on my PC. Once I changed my name to match in all places it worked. Thank you!