Pixelastic

You can cut our wings but we will always remember what it was like to fly.

"failed to import extension hgext.imerge" warning on Dreamhost

Trying to push some new code to a Hg repository on my Dreamhost account, I had the following error message :

remote: *** failed to import extension hgext.imerge: No module named imerge

I used to have the same kind of issues with an other extensions, hgext/hbisect a while ago and I fixed it by forcing Hg to not use this extension.

Here's how :

Edit your .hgrc file and under the [extensions] category, add hgext.imerge=!, like this

[extensions]
hgext/hbisect = !
hgext.imerge=!

This should stop the warning.

Comments


Do you mean .hgrc? 

Thanks for the tip!
Tony Arkleson 7/7/10
Tony Arkles
You're right, I meant .hgrc and not .bashrc. I've edited the post.

Thanks
Timon 7/7/10
Tim
Thanks! Helped me out after I built hg 1.8.3 in my home dir. Seems like the extension was phased out a while ago or something. (Dreamhost's software is all kinda old)
Stephen Holsinger
Also, I'd like to mention that I had to use Chrome's Inspect Element to clear out your CommentEmail field cause it was filled in automagically by Chrome when I entered my name. So I'd like to humbly request that you change the way you handle your bot detection as the CommentEmail field name is common amongst many WordPress installs and many browsers have this feature where they remember what you typed in similar forms and auto-fill it for you. Thus wrongly tripping your spam protection mechanism. Pain in the butt.
Stephen Holsinger
Ouch. Thanks for pointing that out... I had that on my todo list, but never get to it.

It seems that a Chrome version a while back added this smart email autocomplete feature and it broke my spam detection.
I wanted to detect bots by creating a fake "CommentEmail" field, but it now seems to target Chrome as well. That will be tricky to fix.
Timon 13/5/11
Tim
... and 10 spam blocked

Adding a comment

Leave this field empty, it is only here to defeat spam bots
Will not be published