tests/test-largefiles-wireproto.t
branchstable
changeset 47046 5ac0f2a8ba72
parent 45858 ebee234d952a
child 47951 9c4204b7f3e4
--- a/tests/test-largefiles-wireproto.t	Tue May 04 10:46:50 2021 +0200
+++ b/tests/test-largefiles-wireproto.t	Thu May 20 14:20:39 2021 -0400
@@ -425,10 +425,10 @@
   >          -d -p $HGPORT --pid-file hg.pid -A access.log
   $ cat hg.pid >> $DAEMON_PIDS
   $ cat << EOF > get_pass.py
-  > import getpass
-  > def newgetpass(arg):
+  > from mercurial import util
+  > def newgetpass():
   >   return "pass"
-  > getpass.getpass = newgetpass
+  > util.get_password = newgetpass
   > EOF
   $ hg clone --config ui.interactive=true --config extensions.getpass=get_pass.py \
   >          http://user@localhost:$HGPORT credentialclone