~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Alexander Belchenko
  • Date: 2007-01-28 21:43:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2265.
  • Revision ID: bialix@ukr.net-20070128214332-wgvrj0xkb31ltfbc
win32 UNC path: recursive cloning UNC path to root stops on //HOST, not on //

Show diffs side-by-side

added added

removed removed

Lines of Context:
1030
1030
        # directory of this transport
1031
1031
        root_transport = orig_transport
1032
1032
        new_transport = root_transport.clone("..")
1033
 
        # as we are walking up directories, the path must be must be 
 
1033
        # as we are walking up directories, the path must be
1034
1034
        # growing less, except at the top
1035
1035
        self.assertTrue(len(new_transport.base) < len(root_transport.base)
1036
1036
            or new_transport.base == root_transport.base)
1037
1037
        while new_transport.base != root_transport.base:
1038
1038
            root_transport = new_transport
1039
1039
            new_transport = root_transport.clone("..")
1040
 
            # as we are walking up directories, the path must be must be 
 
1040
            # as we are walking up directories, the path must be
1041
1041
            # growing less, except at the top
1042
1042
            self.assertTrue(len(new_transport.base) < len(root_transport.base)
1043
1043
                or new_transport.base == root_transport.base)