/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Adeodato Simó
  • Date: 2007-07-18 15:51:52 UTC
  • mto: (2639.1.1 jam-integration)
  • Revision ID: dato@net.com.org.es-20070718155152-pv6rwq41eckqyxem
New EmailMessage class, façade around email.Message and MIMEMultipart.

* bzrlib/email_message.py,
  bzrlib/tests/test_email_message.py:
  New files.

* bzrlib/tests/__init__.py:
  (test_suite): add bzrlib.tests.test_email_message.

* bzrlib/merge_directive.py:
  (MergeDirective.to_email): Use EmailMessage instead of email.Message.

* bzrlib/tests/test_merge_directive.py,
  bzrlib/tests/blackbox/test_merge_directive.py:
  (__main__): adjust EMAIL1 and EMAIL2 strings to how EmailMessage
  formats itself.

* bzrlib/smtp_connection.py:
  (SMTPConnection.get_message_addresses): do not use methods present in
  email.Message but not in EmailMessage (get_all). Use get() instead of
  __getitem__ to make explicit that None is returned if the header does
  not exist.

* bzrlib/tests/test_smtp_connection.py:
  (TestSMTPConnection.test_get_message_addresses, 
   TestSMTPConnection.test_destination_address_required): test the
   functions against EmailMessage in addition to email.Message.

* NEWS:
  Mention EmailMessage in INTERNALS.
Filename Latest Rev Last Changed Committer Comment Size
..
tree_creator 1908.2.16 19 years ago John Arbash Meinel Move all the new TreeCreator classes into separate Diff
__init__.py 2484.1.25 18 years ago John Arbash Meinel [merge] bzr.dev 2612 8.6 KB Diff Download File
bench_add.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 1.2 KB Diff Download File
bench_bench.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 4.1 KB Diff Download File
bench_bundle.py 2094.3.6 18 years ago John Arbash Meinel [merge] bzr.dev 2158 8 KB Diff Download File
bench_cache_utf8.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 8.9 KB Diff Download File
bench_checkout.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 1.1 KB Diff Download File
bench_commit.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 3.2 KB Diff Download File
bench_info.py 2052.3.4 18 years ago John Arbash Meinel [merge] bzr.dev 1.3 KB Diff Download File
bench_inventory.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 1.5 KB Diff Download File
bench_knit.py 2484.1.14 18 years ago John Arbash Meinel Fix up the benchmarks (bench_knit.py) for the new 3.3 KB Diff Download File
bench_log.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 3.9 KB Diff Download File
bench_osutils.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 1.3 KB Diff Download File
bench_rocks.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 1 KB Diff Download File
bench_sftp.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 3.3 KB Diff Download File
bench_startup.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 3.2 KB Diff Download File
bench_status.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 2.1 KB Diff Download File
bench_transform.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 1.5 KB Diff Download File
bench_workingtree.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 4.2 KB Diff Download File
bench_xml.py 2399.1.7 18 years ago John Arbash Meinel Cleanup bzrlib/benchmarks/* so that everything at 3.6 KB Diff Download File