# HG changeset patch # User Matt Harbison # Date 1677602510 18000 # Node ID a7cbb626ec3fbec244ad6f4f1e04fc352c9a7dbe # Parent af9d050f2bb8bd2c4048a11998c6038a05a8fb90 hghave: byteify a path passed to a core API It looks like this predicate isn't used at all(?) diff -r af9d050f2bb8 -r a7cbb626ec3f tests/hghave.py --- a/tests/hghave.py Mon Feb 27 18:24:29 2023 +0000 +++ b/tests/hghave.py Tue Feb 28 11:41:50 2023 -0500 @@ -333,7 +333,7 @@ fd, path = tempfile.mkstemp(dir='.', prefix=tempprefix) os.close(fd) try: - return util.cachestat(path).cacheable() + return util.cachestat(_sys2bytes(path)).cacheable() finally: os.remove(path)