MissingSectionHeaderError: File contains no section headers.
Created originally on Bitbucket by DI
I just made a clean install of the latest TortoiseHG. I think this is the same as bug #91 (closed). How do I work around this?
{{{
#!python
** Mercurial version (1.9.2). TortoiseHg version (2.1.3)
** Command:
** CWD: U:
** Encoding: cp1252
** Extensions loaded: graphlog
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
** Windows version: (5, 1, 2600, 2, 'Service Pack 3')
** Processor architecture: x86
** Qt-4.7.1 PyQt-4.8.3
Traceback (most recent call last):
File "tortoisehg\hgqt\settings.pyo", line 847, in accept
File "tortoisehg\hgqt\settings.pyo", line 825, in applyChanges
File "tortoisehg\hgqt\settings.pyo", line 1172, in applyChanges
File "tortoisehg\util\wconfig.pyo", line 240, in writefile
File "tortoisehg\util\wconfig.pyo", line 171, in write
File "tortoisehg\util\wconfig.pyo", line 199, in _readini
File "tortoisehg\util\wconfig.pyo", line 182, in newini
File "iniparse\ini.pyo", line 471, in init
File "iniparse\ini.pyo", line 565, in _readfp
MissingSectionHeaderError: File contains no section headers.
file: u:\mercurial.ini, line: 1
'username = isheedm\r\n'
}}}