~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

[merge] Jelmer Vernooij: 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)