~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-22 00:23:19 UTC
  • Revision ID: mbp@sourcefrog.net-20050322002319-4431d181eacedf72
error if --message is not given for commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
443
443
 
444
444
 
445
445
 
446
 
def cmd_commit(message, verbose=False):
 
446
def cmd_commit(message=None, verbose=False):
 
447
    if not message:
 
448
        bailout("please specify a commit message")
447
449
    Branch('.').commit(message, verbose=verbose)
448
450
 
449
451