~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
372
372
        elif self.reporter is None:
373
373
            self.reporter = self._select_reporter()
374
374
        if self.config_stack is None:
375
 
            self.config_stack = self.work_tree.get_config_stack()
 
375
            self.config_stack = self.branch.get_config_stack()
376
376
 
377
377
        self._set_specific_file_ids()
378
378
 
667
667
        # entries and the order is preserved when doing this.
668
668
        if self.use_record_iter_changes:
669
669
            return
670
 
        self.basis_inv = self.basis_tree.root_inventory
 
670
        self.basis_inv = self.basis_tree.inventory
671
671
        self.parent_invs = [self.basis_inv]
672
672
        for revision in self.parents[1:]:
673
673
            if self.branch.repository.has_revision(revision):
834
834
        deleted_paths = {}
835
835
        # XXX: Note that entries may have the wrong kind because the entry does
836
836
        # not reflect the status on disk.
 
837
        work_inv = self.work_tree.inventory
837
838
        # NB: entries will include entries within the excluded ids/paths
838
839
        # because iter_entries_by_dir has no 'exclude' facility today.
839
 
        entries = self.work_tree.iter_entries_by_dir(
 
840
        entries = work_inv.iter_entries_by_dir(
840
841
            specific_file_ids=self.specific_file_ids, yield_parents=True)
841
842
        for path, existing_ie in entries:
842
843
            file_id = existing_ie.file_id