~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-10-06 07:31:42 UTC
  • mto: (1185.13.3)
  • mto: This revision was merged to the branch mainline in revision 1418.
  • Revision ID: mbp@sourcefrog.net-20051006073141-5dadc0f852fd2160
- add some trace statements

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
    def open(base):
135
135
        """Open an existing branch, rooted at 'base' (url)"""
136
136
        t = get_transport(base)
 
137
        mutter("trying to open %r with transport %r", base, t)
137
138
        return _Branch(t)
138
139
 
139
140
    @staticmethod
465
466
            fmt = self.controlfile('branch-format', 'r').read()
466
467
        except NoSuchFile:
467
468
            raise NotBranchError(self.base)
468
 
 
 
469
        mutter("got branch format %r", fmt)
469
470
        if fmt == BZR_BRANCH_FORMAT_5:
470
471
            self._branch_format = 5
471
472
        elif fmt == BZR_BRANCH_FORMAT_4: