tests/test-revlog-raw.py.out
author Gregory Szorc <gregory.szorc@gmail.com>
Sun, 04 Feb 2018 14:10:56 -0800
changeset 35937 a9cffd14aa04
parent 31755 ec48d57de110
child 41034 cca12a31ede5
permissions -rw-r--r--
sshpeer: inline I/O into _validaterepo() We want to move the handshake code out of the peer class so the peer factory function can perform the handshake and instantiate a proper class depending on the results. To make that refactor easier to read, we first inline I/O functionality into _validaterepo(). Test output for low-level protocol tests didn't change, thus hopefully demonstrating that this refactor didn't change any material behavior. Because we no longer call _callstream(), our test extension for monkeypatching the peer had to change its hook point. Differential Revision: https://phab.mercurial-scm.org/D2033

local test passed
addgroupcopy test passed
clone test passed
lowlevelcopy test passed