[PATCH 5 of 6] commandserver: replace SocketServer with mercurial.socketserver
Jun Wu
quark at fb.com
Sun May 8 20:06:24 EDT 2016
# HG changeset patch
# User Jun Wu <quark at fb.com>
# Date 1462477443 -3600
# Thu May 05 20:44:03 2016 +0100
# Node ID 1700e9299ac9d56bc3f540ccd2497d8b360f0ce4
# Parent 7a84412fa25901e35b2d791b704aa3d2e3dd434f
commandserver: replace SocketServer with mercurial.socketserver
Since we have our own socketserver module, use it for commandserver.py.
diff --git a/mercurial/commandserver.py b/mercurial/commandserver.py
--- a/mercurial/commandserver.py
+++ b/mercurial/commandserver.py
@@ -7,7 +7,6 @@
from __future__ import absolute_import
-import SocketServer
import errno
import os
import struct
@@ -18,6 +17,7 @@
from . import (
encoding,
error,
+ socketserver as SocketServer,
util,
)
More information about the Mercurial-devel
mailing list