/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

(jelmer) Allow CommitBuilder implementations to not provide a
 record_entry_contents implementation. (Jelmer Vernooij)

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
402
402
        self._set_progress_stage("Collecting changes", counter=True)
403
403
        self.builder = self.branch.get_commit_builder(self.parents,
404
404
            self.config, timestamp, timezone, committer, self.revprops, rev_id)
 
405
        if not self.builder.supports_record_entry_contents and self.exclude:
 
406
            self.builder.abort()
 
407
            raise errors.ExcludesUnsupported(self.branch.repository)
405
408
 
406
409
        try:
407
410
            self.builder.will_record_deletes()