-
Committer:
Vincent Ladeuil
-
Date:
2007-10-17 15:36:20 UTC
-
mto:
(2961.1.1 trunk)
-
mto:
This revision was merged to the branch mainline in
revision
2962.
-
Revision ID:
v.ladeuil+lp@free.fr-20071017153620-7q8uml5d78jli2fl
ake ftp aware of authentication config.
bzrlib/transport/ftp.py:
FtpTransport._create_connection): Try the authentication config
efore prompting the user.
bzrlib/tests/test_ftp_transport.py:
TestFTPServerUI.test_prompt_for_password): New test.
bzrlib/tests/test_config.py:
TestConfigPath.test_authentication_config_filename): Add test,
ot tested on windows, but should work.
bzrlib/tests/HTTPTestUtil.py:
AuthServer.authorized): Fix typo.
bzrlib/config.py:
AuthenticationConfig.__init__): Track the filename getter, we
eed it for _save().
AuthenticationConfig._save): Needed for tests.
AuthenticationConfig._set_option): Basic setter, needed for
ests.
AuthenticationConfig.get_credentials): Rework 'port' acquisition.