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.
--- a/mercurial/pycompat.py Tue Mar 21 22:46:17 2017 -0700
+++ b/mercurial/pycompat.py Tue Mar 21 22:47:49 2017 -0700
@@ -22,14 +22,12 @@
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:
--- a/mercurial/util.py Tue Mar 21 22:46:17 2017 -0700
+++ b/mercurial/util.py Tue Mar 21 22:47:49 2017 -0700
@@ -60,7 +60,6 @@
stdout = pycompat.stdout
stringio = pycompat.stringio
urlerr = pycompat.urlerr
-urlparse = pycompat.urlparse
urlreq = pycompat.urlreq
xmlrpclib = pycompat.xmlrpclib