X.parents[0].hex => unicode(X.parent_ids[0]), due to pygit v0.20.2 changes
X.parents[0].hex => unicode(X.parent_ids[0]), due to pygit v0.20.2 changes

jvassev/restfulgit,hulu/restfulgit,cvrebert/restfulgit