( )⚙ D5078 py3: fix infinitepush extension tests

This is an archive of the discontinued Mercurial Phabricator instance.

py3: fix infinitepush extension tests
ClosedPublic

Authored by mbthomas on Oct 13 2018, 8:45 AM.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mbthomas created this revision.Oct 13 2018, 8:45 AM
pulkit added inline comments.Oct 13 2018, 8:54 AM
hgext/infinitepush/store.py
84

We use node.hex(sha1.digest()) in such cases. Sorry for having preferences here ;)

mbthomas updated this revision to Diff 12075.Oct 13 2018, 9:04 AM

Use a different function for getting hexdigest as bytes

mbthomas marked an inline comment as done.Oct 13 2018, 9:04 AM
pulkit accepted this revision.Oct 13 2018, 9:06 AM
This revision was automatically updated to reflect the committed changes.