/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

Better error for selected-file commit of merges

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
 
300
300
            self._gather_parents()
301
301
            if len(self.parents) > 1 and self.specific_files:
302
 
                raise NotImplementedError('selected-file commit of merges is not supported yet: files %r',
303
 
                        self.specific_files)
 
302
                raise errors.CannotCommitSelectedFileMerge(self.specific_files)
304
303
            
305
304
            self.builder = self.branch.get_commit_builder(self.parents,
306
305
                self.config, timestamp, timezone, committer, revprops, rev_id)