ProjectBorealis/UEGitPlugin

Lock is not being reverted after checking out a modified file

Closed this issue · 2 comments

I cannot manage to revert a file and have its lock removed after modifying it.

Steps to reproduce:

  1. Open a file
  2. Change some values inside of it
  3. Save the file and have it checked out/locked
  4. Revert that file
  5. Notice that the file is being reverted but kept locked (with a different icon as in a different user has it locked)

image

Edit:
If I'm manually checking out the file before modifying the file and reverting it afterwards this issue is not occurring.

Make sure your lfs locking username is set correctly. For the git plugin, reverts take 2 steps: revert content, then revert lock.

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!