/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/plugins/fastimport/processors/generic_processor.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 00:17:06 UTC
  • mto: (6670.4.8 move-bzr)
  • mto: This revision was merged to the branch mainline in revision 6681.
  • Revision ID: jelmer@jelmer.uk-20170610001706-xn6jiuev350246mr
Rename a number of attributes from bzrdir to controldir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
            prune_empty_dirs=True):
128
128
        processor.ImportProcessor.__init__(self, params, verbose)
129
129
        self.prune_empty_dirs = prune_empty_dirs
130
 
        self.bzrdir = bzrdir
 
130
        self.controldir = bzrdir
131
131
        try:
132
132
            # Might be inside a branch
133
133
            (self.working_tree, self.branch) = bzrdir._get_tree_branch()
448
448
                    result.append(self.working_tree)
449
449
            elif wt_expected:
450
450
                try:
451
 
                    result.append(br.bzrdir.open_workingtree())
 
451
                    result.append(br.controldir.open_workingtree())
452
452
                except errors.NoWorkingTree:
453
453
                    self.warning("No working tree for branch %s", br)
454
454
        return result