~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-28 13:57:30 UTC
  • mfrom: (1711.2.65 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060628135730-69c51a8debcc73f7
(jelmer): Fix comment in Branch.open

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        
98
98
    @staticmethod
99
99
    def open(base, _unsupported=False):
100
 
        """Open the repository rooted at base.
 
100
        """Open the branch rooted at base.
101
101
 
102
 
        For instance, if the repository is at URL/.bzr/repository,
103
 
        Repository.open(URL) -> a Repository instance.
 
102
        For instance, if the branch is at URL/.bzr/branch,
 
103
        Branch.open(URL) -> a Branch instance.
104
104
        """
105
105
        control = bzrdir.BzrDir.open(base, _unsupported)
106
106
        return control.open_branch(_unsupported)