~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_log.py

  • Committer: Lukáš Lalinský
  • Date: 2007-08-07 20:45:21 UTC
  • mto: (2755.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2709.
  • Revision ID: lalinsky@gmail.com-20070807204521-q9iwgzhwei1sf96h
Fixes for comments from the mailing list.

 - Raise AssertionError from MutableTree.commit if both author kwarg and revprop are set.
 - Fixed code formatting in LongLogFormatter.log_revision.
 - Fixed punctuation in the developer docs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
441
441
                  timestamp=1132711707,
442
442
                  timezone=36000,
443
443
                  committer='Lorem Ipsum <test@example.com>',
444
 
                  revprops={'author': 'John Doe <jdoe@example.com>'})
 
444
                  author='John Doe <jdoe@example.com>')
445
445
        sio = StringIO()
446
446
        formatter = LongLogFormatter(to_file=sio)
447
447
        show_log(b, formatter)