~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/upgrade.py

  • Committer: Martin Pool
  • Date: 2005-09-29 03:44:15 UTC
  • mto: (1185.12.2) (1393.1.12)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: mbp@sourcefrog.net-20050929034415-653b0359e30f62e7
- better representation in Branch factories of opening old formats

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
 
150
150
 
151
151
    def _open_branch(self):
152
 
        self.branch = Branch.open(self.base, relax_version_check=True)
 
152
        self.branch = Branch.open_downlevel(self.base)
153
153
        if self.branch._branch_format == 5:
154
154
            note('this branch is already in the most current format')
155
155
            return False