indygreg requested changes to this revision.
indygreg added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> wrapper.py:89
>      # git-lfs only supports sha256
> -    oid = hashlib.sha256(text).hexdigest()
> +    oid = pycompat.sysbytes(hashlib.sha256(text).hexdigest())
>      self.opener.lfslocalblobstore.write(oid, text)

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

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2568

To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to