~jeanfrancois.roy/bzr/url-safe-escape

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2005-10-06 22:15:52 UTC
  • mfrom: (1185.13.2)
  • mto: This revision was merged to the branch mainline in revision 1420.
  • Revision ID: robertc@robertcollins.net-20051006221552-9b15c96fa504e0ad
mergeĀ fromĀ upstream

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: