/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 bzrlib/commit.py

  • Committer: Robert Collins
  • Date: 2009-03-27 04:36:58 UTC
  • mto: This revision was merged to the branch mainline in revision 4216.
  • Revision ID: robertc@robertcollins.net-20090327043658-vzfmwbuhd7pam1m7
Correct logic for detecting when to use record_iter_changes in commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
            not self.specific_files and
293
293
            not self.exclude and 
294
294
            not self.branch.repository._format.supports_tree_reference and
295
 
            self.branch.repository._format.fast_deltas or len(self.parents) < 2)
 
295
            (self.branch.repository._format.fast_deltas or
 
296
             len(self.parents) < 2))
296
297
        self.pb = bzrlib.ui.ui_factory.nested_progress_bar()
297
298
        self.basis_revid = self.work_tree.last_revision()
298
299
        self.basis_tree = self.work_tree.basis_tree()