~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2485.8.27.

  • Committer: Vincent Ladeuil
  • Date: 2007-06-02 14:40:26 UTC
  • mto: (2485.8.44 bzr.connection.sharing)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070602144026-bvhq9zlis7l6qe7j
Hearing jam saying "vila, you're trying too hard", I simplified again.

* bzrlib/transport/sftp.py:
(SFTPUrlHandling): Simplified to the point only _remote_path
remains at which point _remote_path have been put under
SFTPTransport and the class itself deleted.
(SFTPTransport._remote_path): This is the only point where home
dir related processing needs to occur. (another use case for
tracking moving lines).

* bzrlib/tests/test_sftp_transport.py:
(SFTPTransportTestRelativeRoot.test__remote_path_relative_root):
Internally we use '/~/' to indicate home dir relative paths, only
_remote_path will strip that.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: