Sat, 03 Mar 2018 17:08:41 -0500 tests: fix bytes literals in test-fncache.t
Augie Fackler <augie@google.com> [Sat, 03 Mar 2018 17:08:41 -0500] rev 36662
tests: fix bytes literals in test-fncache.t # skip-blame just b prefixes Differential Revision: https://phab.mercurial-scm.org/D2612
Sat, 03 Mar 2018 17:08:05 -0500 scmutil: avoid using basestring and add explicit handling of unicodes
Augie Fackler <augie@google.com> [Sat, 03 Mar 2018 17:08:05 -0500] rev 36661
scmutil: avoid using basestring and add explicit handling of unicodes This resolves some Python 3 defects, and I don't think it is a meaningful behavior change in Python 2. Differential Revision: https://phab.mercurial-scm.org/D2611
Sat, 03 Mar 2018 17:07:18 -0500 tests: fix inline extension bytes in test-ssh-proto-unbundle.t
Augie Fackler <augie@google.com> [Sat, 03 Mar 2018 17:07:18 -0500] rev 36660
tests: fix inline extension bytes in test-ssh-proto-unbundle.t # skip-blame just b prefixes Differential Revision: https://phab.mercurial-scm.org/D2610
Sat, 03 Mar 2018 16:38:17 -0500 hghave: fix up clang-libfuzzer regex to be bytes
Augie Fackler <augie@google.com> [Sat, 03 Mar 2018 16:38:17 -0500] rev 36659
hghave: fix up clang-libfuzzer regex to be bytes Fixes this check on Python 3. # skip-blame just a b prefix Differential Revision: https://phab.mercurial-scm.org/D2607
Sat, 03 Mar 2018 15:41:12 -0500 py3: accept both unicode and byte strings as filename carried by IOError
Yuya Nishihara <yuya@tcha.org> [Sat, 03 Mar 2018 15:41:12 -0500] rev 36658
py3: accept both unicode and byte strings as filename carried by IOError Follows up 77f98867538f. We could assume there's no bytes filename in our codebase, but it's probably better to not raise UnicodeError because of a unicode filename.
Sat, 03 Mar 2018 15:33:52 -0500 py3: back out c77c925987d7 to store bytes filename in IOError
Yuya Nishihara <yuya@tcha.org> [Sat, 03 Mar 2018 15:33:52 -0500] rev 36657
py3: back out c77c925987d7 to store bytes filename in IOError Appears that this is how Python 3 works.
Sat, 03 Mar 2018 14:57:23 -0500 largefiles: headers and values need to be sysstrs, add r prefixes
Augie Fackler <augie@google.com> [Sat, 03 Mar 2018 14:57:23 -0500] rev 36656
largefiles: headers and values need to be sysstrs, add r prefixes # skip-blame just some r prefixes Differential Revision: https://phab.mercurial-scm.org/D2606
Sat, 03 Mar 2018 11:26:30 -0500 cext: accept arguments as Py_buffer
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 03 Mar 2018 11:26:30 -0500] rev 36655
cext: accept arguments as Py_buffer The s*/y* value formatters receive a Py_buffer instead of a char *. This value format is more flexible in the types that it allows. We change bdiff() to accept any object that conforms to the buffer protocol. We validate the buffers are contiguous and have a single dimension. This allows memoryview instances to be handled by the function, so we revert a recent change to cast arguments to bytes before calling this function. Differential Revision: https://phab.mercurial-scm.org/D2587
(0) -30000 -10000 -3000 -1000 -300 -100 -30 -10 -8 +8 +10 +30 +100 +300 +1000 +3000 +10000 tip