/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/builtins.py

  • Committer: Robert Collins
  • Date: 2009-08-25 22:28:19 UTC
  • mto: This revision was merged to the branch mainline in revision 4651.
  • Revision ID: robertc@robertcollins.net-20090825222819-j2goi0fgiuu894xu
Fix a couple of small bugs in the patch - use specific files with record_iter_changs, and the CLI shouldn't generate a filter of [] for commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3029
3029
                raise errors.BzrCommandError("empty commit message specified")
3030
3030
            return my_message
3031
3031
 
 
3032
        # The API permits a commit with a filter of [] to mean 'select nothing'
 
3033
        # but the command line should not do that.
 
3034
        if not selected_list:
 
3035
            selected_list = None
3032
3036
        try:
3033
3037
            tree.commit(message_callback=get_message,
3034
3038
                        specific_files=selected_list,