# HG changeset patch # User Gregory Szorc # Date 2017-03-22 05:47:49 # Node ID 55c6788c54e2faf80ec14f2b0844bfe429012bc3 # Parent c0c4e14ee59702e8fa1c872e22cb70a6a4754672 py3: stop exporting urlparse from pycompat and util (API) There are no consumers of this in tree. Functions formerly available on this object/module can now be accessed via {pycompat,util}.urlreq. diff --git a/mercurial/pycompat.py b/mercurial/pycompat.py --- a/mercurial/pycompat.py +++ b/mercurial/pycompat.py @@ -22,14 +22,12 @@ if not ispy3: import httplib import Queue as _queue import SocketServer as socketserver - import urlparse import xmlrpclib else: import http.client as httplib import pickle import queue as _queue import socketserver - import urllib.parse as urlparse import xmlrpc.client as xmlrpclib if ispy3: diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -60,7 +60,6 @@ stdin = pycompat.stdin stdout = pycompat.stdout stringio = pycompat.stringio urlerr = pycompat.urlerr -urlparse = pycompat.urlparse urlreq = pycompat.urlreq xmlrpclib = pycompat.xmlrpclib