AttributeError when doing 'Annotate files' on Windows
Created originally on Bitbucket by Anonymous
When attempting to do a 'TortoiseHg:Annotate Files' on a source file, the following message pops up. The annotation window is however launched ok. TortoiseHg 2.8.0 (x64)
#!python
** Mercurial version (2.6). TortoiseHg version (2.8)
** Command: --nofork annotate --listfile C:\Users\ASW\AppData\Local\Temp\THGDC2C.tmp
** CWD: D:\tmp\all\iv2all
** Encoding: cp1252
** Extensions loaded: mercurial_keyring
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.4 PyQt-4.9.6 QScintilla-2.7
Traceback (most recent call last):
File "boot_com_servers.py", line 44, in <module>
File "mercurial\demandimport.pyo", line 95, in _demandimport
File "os_integration\windows\shell_extension.pyc", line 9, in <module>
File "mercurial\demandimport.pyo", line 87, in __getattribute__
AttributeError: 'module' object has no attribute 'GetEnvironmentVariableW'