~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

(John Arbash Meinel) Fix bug #75721: 'bzr push' should only connect a single time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1805
1805
            segments = maybe_a_url.rsplit('/', 1)
1806
1806
            t = get_transport(maybe_a_url)
1807
1807
            if len(segments) > 1 and segments[-1] not in ('', '.'):
1808
 
                try:
1809
 
                    t.mkdir('.')
1810
 
                except errors.FileExists:
1811
 
                    pass
 
1808
                t.ensure_base()
1812
1809
            if format is None:
1813
1810
                format = 'default'
1814
1811
            if isinstance(format, basestring):