~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/__init__.py

  • Committer: Neil Martinsen-Burrell
  • Date: 2009-12-07 15:47:05 UTC
  • mto: (4875.1.1 integration2)
  • mto: This revision was merged to the branch mainline in revision 4872.
  • Revision ID: nmb@wartburg.edu-20091207154705-nfi1q7d92hwzpf7u
launchpad-open works from a subdirectory of a branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
        """Yield possible external locations for the branch at 'location'."""
171
171
        yield location
172
172
        try:
173
 
            branch = _mod_branch.Branch.open(location)
 
173
            branch = _mod_branch.Branch.open_containing(location)[0]
174
174
        except NotBranchError:
175
175
            return
176
176
        branch_url = branch.get_public_branch()