Prevent a unicode error on UTF-8 in commit metadata.
authorNeil <neil@dip.sun.ac.za>
Sat, 19 Oct 2013 11:52:53 +0000 (07:52 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 19 Oct 2013 11:52:53 +0000 (07:52 -0400)
commit1c6bc9c11291fffe8de9dbe88c9490ac0e2d4278
treef031d527135bcad4bd16c401b0dbfc17e8a3d352
parentd12d88b0331326b1dacc373cde79943532e60bb2
Prevent a unicode error on UTF-8 in commit metadata.

Having utf-8 in the commit metada (e.g author, commit message, file
names) triggered a decoding error:

"UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 42: ordinal not in range(128)"

This is because the __unicode__ method of the Commit class, doesn't
actually return an object of type 'unicode' although it should.
irkerhook.py