This revision was automatically updated to reflect the committed changes.
Closed by commit rHG273f89e8e76a: hghave: fix xdiff check on Python 3 (authored
by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2845?vs=7002=7026
REVISION DETAIL
https://phab.mercurial-scm.org/D2845
AFFECTED FILES
tests/hghave.py
CHANGE DETAILS
diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -714,6 +714,6 @@
try:
from mercurial import policy
bdiff = policy.importmod('bdiff')
-return bdiff.xdiffblocks('', '') == [(0, 0, 0, 0)]
+return bdiff.xdiffblocks(b'', b'') == [(0, 0, 0, 0)]
except (ImportError, AttributeError):
return False
To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel