Issue #1512 resolved

Facing Error on :: Enable SSH compression for Mercurial

Anonymous created an issue

When i am following below step it will give me the error prompt :

Start the TortoiseHg Workbench. Select File > Settings. Make sure you have the global settings tab selected. Press Edit File.

Add the following line to the UI section:

ssh = "TortoisePlink.exe" -ssh -2 -batch -


Error prompt like this

{{{

!python

Mercurial version (2.0.1). TortoiseHg version (2.2.1) Command: CWD: C:\Users\amar27 Encoding: cp1252 Extensions loaded: Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] Windows version: (6, 1, 7601, 2, 'Service Pack 1') Processor architecture: x86 ** Qt-4.7.4 PyQt-4.8.6 Traceback (most recent call last): File "tortoisehg\hgqt\settings.pyo", line 941, in accept File "tortoisehg\hgqt\settings.pyo", line 919, in applyChanges File "tortoisehg\hgqt\settings.pyo", line 1269, 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: C:\Users\amar27\mercurial.ini, line: 2 'ssh = "TortoisePlink.exe" -ssh -2 -batch -C'

}}}

Comments (4)

  1. Anonymous

    I was previously install python and now i uninstall it from my system but still i am facing this error please help me by sending mail to dhamecharhaul@gmail.com

  2. Yuya Nishihara

    wconfig: translate ParsingError of iniparse to error.ParseError (refs #1512)

    Because wconfig is a kind of Mercurial's config object, it should hide iniparse behavior.

    With this change, ParsingError can be caught at global exception handler.

    055b98684ae5

  3. Log in to comment