~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/bzrdir_implementations/test_bzrdir.py

  • Committer: Martin Pool
  • Date: 2006-03-10 06:29:53 UTC
  • mfrom: (1608 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060310062953-bc1c7ade75c89a7a
[merge] bzr.dev; pycurl not updated for readv yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1071
1071
            # as downgrades may not be available
1072
1072
            old_format = bzrdir.BzrDirFormat.get_default_format()
1073
1073
            bzrdir.BzrDirFormat.set_default_format(dir._format)
 
1074
            pb = ui.ui_factory.nested_progress_bar()
1074
1075
            try:
1075
 
                dir._format.get_converter(None).convert(dir,
1076
 
                    ui.ui_factory.progress_bar())
 
1076
                dir._format.get_converter(None).convert(dir, pb)
1077
1077
            finally:
1078
1078
                bzrdir.BzrDirFormat.set_default_format(old_format)
 
1079
                pb.finished()
1079
1080
            # and it should pass 'check' now.
1080
1081
            check(bzrdir.BzrDir.open(self.get_url('.')).open_branch(), False)
1081
1082