Removing the lock worked for me. However, I had to use a slightly different command, since I had to send the account username and password to unlock the account.
svn pdel --revprop -r 0 --username ??? --password ??? svn:sync-lock file:
I also had to run this command from the disk on which the repository was installed. (change in d: on the command line before running the command if my repository was on d :)
Before entering the username and password, when I ran the command, I received the following error:
revprop change blocked by pre-revprop-change hook (exit code 255)
I found and opened the pre-revprop-change binding file, and there was code containing only a specific username that could make the necessary changes. Using this username and password in the above command removed the hook.
AMRAAM Jun 09 2018-11-21T00: 00Z
source share