Comment 10 for bug 472161

Revision history for this message
Vincent Ladeuil (vila) wrote :

@Sylvain & Kamit: I push an alternate fix which passes the test suite at lp:~vila/bzr/472161-ftp-utf8

Can you try it in your config and report any problems ?

@Kamit: I filed https://code.edge.launchpad.net/~vila/bzr/472161-ftp-utf8/+merge/16967 with that branch.
That's the preferred way to submit changes to bzr.

Regarding you 'branches diverged' problem, presumably you did 'bzr uncommit' so if you wanted to push to
the same branch you should have use 'bzr push --overwrite'

To run the test suite you issue:
  bzr selftest

You'll need to have an ftp test server available for that. bzr supports medusa up to python2.5 and
pyftpdlib (http://code.google.com/p/pyftpdlib/) for python2.5, 2.5 and 2.6.

Since medusa doesn't support Unicode paths, I recommend pyftpdlib of course (You have to install the module
in a suitable directory, use PYTHONPATH if needed).

To run less than the full test suite, you explore from:
   bzr selftest FTPTestServer

which will run only the tests whose name contains FTPTestServer or:

  bzr selftest -s bt.per_transport.TransportTests.test_unicode_paths

to run only the test_unicode_paths test.