git does not read .hgignore
add ICAP support
bugfix calling iteritems rather than itervalues when handling socket errors as pointed out by jakobjuelich