This is an archive of the discontinued Mercurial Phabricator instance.

lfs: convert hexdigest to bytes using sysbytes
ClosedPublic

Authored by durin42 on Mar 2 2018, 5:15 PM.

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

durin42 created this revision.Mar 2 2018, 5:15 PM
indygreg requested changes to this revision.Mar 2 2018, 5:19 PM
indygreg added a subscriber: indygreg.
indygreg added inline comments.
hgext/lfs/wrapper.py
89

In other places, we've done mercurial.node.hex(hashlib.sha256(text).digest())

This revision now requires changes to proceed.Mar 2 2018, 5:19 PM
durin42 updated this revision to Diff 6397.Mar 2 2018, 5:23 PM
indygreg accepted this revision.Mar 2 2018, 5:32 PM
This revision is now accepted and ready to land.Mar 2 2018, 5:32 PM
This revision was automatically updated to reflect the committed changes.