~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-12 23:58:55 UTC
  • mto: This revision was merged to the branch mainline in revision 5722.
  • Revision ID: jelmer@samba.org-20110312235855-m0mz0zi5s4z1c0jt
Add CommitBuilder.supports_record_entry_contents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
326
326
                minimum_path_selection(specific_files))
327
327
        else:
328
328
            self.specific_files = None
329
 
            
 
329
 
330
330
        self.allow_pointless = allow_pointless
331
331
        self.message_callback = message_callback
332
332
        self.timestamp = timestamp
404
404
            self.config, timestamp, timezone, committer, self.revprops, rev_id)
405
405
 
406
406
        try:
 
407
            if (not self.builder.supports_record_entry_contents and
 
408
                not self.use_record_iter_changes):
 
409
                raise errors.ExcludesUnsupported(self.branch.repository)
 
410
 
407
411
            self.builder.will_record_deletes()
408
412
            # find the location being committed to
409
413
            if self.bound_branch: