1 new changeset in main: http://www.bitbucket.org/mercurialeclipse/main/changeset/8eeab1f0cc2d/ changeset: r1077:8eeab1f0cc2d user: bastiand date: 2009-03-13 19:59:23 summary: Make encoding settings configurable
Filenames, content and metadata are not always transcoded correctly. In order to fix this, we now determine the encoding to use by following this algorithm: 1) Check Eclipse project encoding. 2) Check for HGENCODING environment variable to obtain encoding. 3) Check for JVM default charset All this stuff is managed using the HgRoot class. The Eclipse specific stuff resides in MercurialTeamProvider in order to avoid cyclic dependencies. Manually setting encodings on a HgRoot object always override the automatically determined ones. The search4HgRoot methods in MercurialUtilities have been superseded by the ones in MercurialTeamProvider, resulting in only one location to remember for asking for a configured HgRoot. HgRoot also defines a fallback encoding if it is set in the repositories .hgrc configuration file. Else it is set to the windows locale cp1251 - don't sue me for this... The global preferences aren't read so far. affected #: 18 files (8.9 KB) Repository URL: http://bitbucket.org/mercurialeclipse/main/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MercurialEclipse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mercurialeclipse?hl=en -~----------~----~----~----~------~----~------~--~---
