diff mercurial/help.py @ 12966:5f80f44d23c5 stable

win32: remove try-catch block of GetModuleFileNameEx (issue2480) According to the API document, GetModuleFileName is the preferred way to retrieve the filename of the current process. So we shouldn't try GetModuleFileName'Ex' first. Previously system_rcpath_win32() happened to return unicode paths due to GetModuleFileNameEx (issue2480). This problem is fixed as GetModuleFileName never return unicode.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 11 Nov 2010 01:12:51 +0900
parents af1006d2f970
children cc4721ed7a2a
line wrap: on
line diff