~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4725.3.3.

  • Committer: Vincent Ladeuil
  • Date: 2009-10-06 08:24:14 UTC
  • mto: (4728.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4729.
  • Revision ID: v.ladeuil+lp@free.fr-20091006082414-2gw236e7n81hppxp
Fix test failure at the root without cleaning up ftp APPE.

* bzrlib/transport/ftp/_gssapi.py:
(GSSAPIFtpTransport.connection_class, GSSAPIFtpTransport._login):
Reduce the duplication that led to bug #443041: the connection
wasn't set to bianry mode after its creation.

* bzrlib/transport/ftp/__init__.py:
(FtpTransport._create_connection): Made more pluggable for GSSAPI
purposes.
(FtpTransport.connection_class, FtpTransport._login): The parts
that GSSAPI want to override.
(FtpTransport._try_append): Revert controversial change.

* bzrlib/tests/ftp_server/pyftpdlib_based.py:
(BzrConformingFTPHandler.ftp_NLST): Fix typo.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: