hgext/acl.py
changeset 37123 a8a902d7176e
parent 36442 03eff66adb3b
child 38533 6beb8347b709
--- a/hgext/acl.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/hgext/acl.py	Sat Mar 24 15:10:51 2018 +0900
@@ -201,6 +201,9 @@
     registrar,
     util,
 )
+from mercurial.utils import (
+    procutil,
+)
 
 urlreq = util.urlreq
 
@@ -338,7 +341,7 @@
             user = urlreq.unquote(url[3])
 
     if user is None:
-        user = util.getuser()
+        user = procutil.getuser()
 
     ui.debug('acl: checking access for user "%s"\n' % user)