changeset 26663:fa6858be3c61

exewrapper: report name of failed private DLL in error message Same as in preceding change, but this time it's for the private Python of HackableMercurial (in hg-python directory next to the hg.exe).
author Adrian Buehlmann <adrian@cadifra.com>
date Wed, 14 Oct 2015 12:23:04 +0200
parents d215def59c3b
children 640b807dcce0
files mercurial/exewrapper.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/exewrapper.c	Wed Oct 14 12:22:09 2015 +0200
+++ b/mercurial/exewrapper.c	Wed Oct 14 12:23:04 2015 +0200
@@ -90,7 +90,8 @@
 			strcat_s(pydllfile, sizeof(pydllfile), "\\" HGPYTHONLIB);
 			pydll = LoadLibrary(pydllfile);
 			if (pydll == NULL) {
-				err = "failed to load private Python DLL";
+				err = "failed to load private Python DLL "
+				      HGPYTHONLIB ".dll";
 				goto bail;
 			}
 			Py_SetPythonHome = (void*)GetProcAddress(pydll,