TortoiseHg 4.2 doesn't start on Windows
Created originally on Bitbucket by Anteru
When I try to run TortoiseHg 4.2 on Windows, I get the following error:
The logfile 'C:\Program Files\TortoiseHg\thgw.exe.log' could not be opened: [Errno 13] Permission denied: 'C:\\Program Files\\TortoiseHg\\thgw.exe.log'
Running it with administrator permissions allows the log to be written, it then contains:
thg: unknown command 'debugstate'
This prevents me from using TortoiseHg 4.2 at all. I had to roll back to the previous version. I've reproduced it on two machines, which both upgraded from the previous release.