[PATCH 0 of 4] expanduser not working on win98

VolkerKleinfeld Volker.Kleinfeld at gmx.de
Thu Sep 29 14:25:32 CDT 2005


Hi,
here come a few patches mainly fixing a problem I experience when
using expanduser('~') on win98.
1. The first patch fixes a general problem with my py2exe implementation
   -> the -i option is not working and this should be fixed by the patch
2. I replace expanduser with ShGetSpecialFolder method to access the
   %APPDIR%. This will actualy change the path where mercurial looks for
   mercurial.ini. But I believe it is the better way to do it.
3. Update the hgrc file accordingly
4. ShGetSpecialFolder is provided by win32com.shell. One needs to play some
   tricks to get this module visible to py2exe

/Volker


More information about the Mercurial mailing list