diff mercurial/bundlerepo.py @ 43393:bdebc7b54dca stable

fsmonitor: make _hashignore compatible with Python 3 The Hasher wants a bytes but we were feeding it a str. Let's use our repr() implementation to return bytes. In addition, the hexdigest() would return a str, which would be compared against a bytes and would always fail. Normalize to bytes so the compare works. Differential Revision: https://phab.mercurial-scm.org/D7209
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 02 Nov 2019 13:39:23 -0700
parents 8ff1ecfadcd1
children 9f70512ae2cf
line wrap: on
line diff