»
January 03, 2010
»

Running guess-renames on Mac OS X

Guess-renames is nifty Mercurial extension (and standalone tool) written by Colin Barrett.

I’m not really that much familiar with Python that’s why I had a bit of trouble getting it to work so for those like me here is step by step instructions:

Get guess-renames

hg clone ssh://hg@bitbucket.org/cbarrett/guess-renames/

Try running tests

make tests

If this fails miserably with exceptions mentioning setuptools, install them.

Install Setuptools (if needed)

wget http://peak.telecommunity.com/dist/ez_setup.py
sudo python ./ez_setup.py

Install guess-renames

Tests should now pass. If so install:

make tests
sudo python ./setup.py install

Add guessrenames.hgext

add the following to ~/.hgrc:

[extensions]
guessrenames.hgext=

Note: If you already have [extensions] section, just add guessrenames to that one.

Done

hg addremove -g

For more information see guess-renames project page

 
Internet Explorer 6
Are you serious?