Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

T'hain Esh Kelch

macrumors 604
Original poster
Aug 5, 2001
6,637
7,695
Denmark
I'm trying to get to know Mercurial, so I can start a bit of open source development. But since I'm not very experienced either with programming, Mercurial or Python, I'm quite stuck..

I've installed the newest version of Mercurial, but whenever I try to do anything in the terminal with hg, then I get the same error, as follows:
Event-Horizon:adium1.5 david$ hg diff > myPatch.diff
*** import of extension alias failed: No module named alias
*** import of extension MacOSXKeychain from /Library/Python/2.5/site-packages/hgext/hgkeychain.py failed: [Errno 2] No such file or directory

The Mercurial install is standard, and I have not installed anything else. I've checked that Python 2.6 is installed, and I've also tried installing both Xcode 3 and 4. I'm running OSX 10.6.7.

Any suggestions?
 
Which version of Mercurial? Alias should be deprecated.

Check ~/.hgrc and make sure Alias is commented out under [extensions].
 
Which version of Mercurial? Alias should be deprecated.
1.8.3.

Check ~/.hgrc and make sure Alias is commented out under [extensions].

[extensions]
alias=
convert=
extdiff=
graphlog=
patchbomb=
record=
MacOSXKeychain=/Library/Python/2.5/site-packages/hgext/hgkeychain.py

[alias]
blame=annotate -u -n
rec=record
By "commented out", do you mean I should delete the line?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.