'atomictempfile' object has no attribute 'rename'
Created originally on Bitbucket by maugustin
I've installed TortoiseHG via MacPorts on MacOSX 10.7 and got the above error message everytime a config file (e.g. .hgrc) should be written after changing some configuration.
I've fixed this issue by changing "f.rename" in the file tortoisehg/util/wconfig.py into "f.close()" after reading mercurial code about atomictempfile class.
Thats what I use: TortoiseHG 2.1.2 with Mercurial-2.2.2, Python-2.7.3, PyQt-4.9.1, Qt-4.8.2