tests: accept a test output change in [tests/test-serve.t]
This fixes a breakage introduced in
adecb1ab4a0d.
It was not caught by the CI probably because allows
binding to port 13.
py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
Missed in
805d4a462abb:
$ python3.12 mercurial/store.py
mercurial/store.py:406: SyntaxWarning: invalid escape sequence '\.'
EXCLUDED = re.compile(b'.*undo\.[^/]+\.(nd?|i)$')
url: don't ignore timeout for https connections
For http, we use the stdlib's HTTPConnection.connect which passes the
timeout down to socket.create_connection; for https, we override the
connect method but weren't handling the timeout, so connections could
hang for hours even with http.timeout set to low values.