--- a/hgext/phabricator.py Sun Apr 11 23:54:35 2021 +0200
+++ b/hgext/phabricator.py Mon Apr 12 03:01:04 2021 +0200
@@ -103,6 +103,7 @@
from mercurial.utils import (
procutil,
stringutil,
+ urlutil,
)
from . import show
@@ -366,7 +367,7 @@
process(k, v)
process(b'', params)
- return util.urlreq.urlencode(flatparams)
+ return urlutil.urlreq.urlencode(flatparams)
def readurltoken(ui):
@@ -381,7 +382,7 @@
_(b'config %s.%s is required') % (b'phabricator', b'url')
)
- res = httpconnectionmod.readauthforuri(ui, url, util.url(url).user)
+ res = httpconnectionmod.readauthforuri(ui, url, urlutil.url(url).user)
token = None
if res: