/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-12 01:41:38 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181112014138-3b0zyx91cu3wdq3k
More PEP8 fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
    def destroy_branch(self, name=None):
195
195
        """Destroy a branch in this ControlDir.
196
196
 
197
 
        :param name: Name of the branch to destroy, None for the 
 
197
        :param name: Name of the branch to destroy, None for the
198
198
            user selected branch or "" for the active branch.
199
199
        :raise NotBranchError: When the branch does not exist
200
200
        """
205
205
        """Create a working tree at this ControlDir.
206
206
 
207
207
        :param revision_id: create it as of this revision id.
208
 
        :param from_branch: override controldir branch 
 
208
        :param from_branch: override controldir branch
209
209
            (for lightweight checkouts)
210
210
        :param accelerator_tree: A tree which can be used for retrieving file
211
211
            contents more quickly than the revision tree, i.e. a workingtree.
773
773
            try:
774
774
                result = klass.open_from_transport(a_transport)
775
775
                return result, urlutils.unescape(a_transport.relpath(url))
776
 
            except errors.NotBranchError as e:
 
776
            except errors.NotBranchError:
777
777
                pass
778
778
            except errors.PermissionDenied:
779
779
                pass