Good news: I got a custom build of MercurialEclipse to work by installing it manually, as suggested by Andrei Loskutov. Thanks Andrei!
Bad news: MercurialEclipse conflicts with the crecord extension, at least on my machine. It looks like setting LANG=en is a bad idea. Command-line example: $ LANG=en hg log -r. -l1 *** failed to import extension crecord from /home/gward/.hgext/crecord: unsupported locale setting changeset: 1238:2ed3531b5849 user: iloveeclipse date: Fri Aug 28 07:51:48 2009 +0200 summary: Allow untracked resources to be shown in commit dialog Note that crecord fails to import, but the 'hg log' command is successful other than that. I think this is a bug in crecord, but log itself is fine. Now when I try to view history in Eclipse, it does not go so well: I get a dialog that says 'Fetching Mercurial revisions...' has encountered a problem. An internal error occurred during: "Fetching Mercurial revisions...". Clicking on the "Details" button gives slightly more information: An internal error occurred during: "Fetching Mercurial revisions...". For input string: "** failed to import extension crecord from /home/gward/.hgext/crecord: unsupported locale setting" There are several problems here: 1) redundant error reporting; the dialog tells me the same thing 3 times before getting to the real problem 2) failure to load one extension does not mean Mercurial is broken; IMHO it would be safe to ignore the "*** failed to import extension ..." message and parse the rest of Mercurial's output 3) no indication of how to reproduce the problem; I had to dig into the source code for MercurialEclipse to figure out what it was doing and understand the problem. It would be nice to know 1) what environment vars are set, 2) what command was run, and 3) what directory it was run from. I found a workaround for the crecord bug: just set LANG=C rather than "en". At least that works on my Linux box. But IMHO the real bug us #2 above; just because some extension is broken does not mean that Mercurial is broken. I would submit a patch, but I can't find where in the code that error is generated. Hints? Greg P.S. I have made myself a fork on bitbucket, so I'll send a patch to set LANG=C there in a moment. But IMHO that's just a workaround for someone else's bug, not the real fix. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
