Changeset a4fbb13c in mainline
- Timestamp:
- 2014-05-04T20:24:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2040d5f
- Parents:
- 9f40318f
- Location:
- contrib/bazaar/bzreml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/bazaar/bzreml/__init__.py
r9f40318f ra4fbb13c 40 40 import smtplib 41 41 import time 42 import os 42 43 43 44 from StringIO import StringIO … … 133 134 revision_ac_no = branch.revision_id_to_revno(revision_ac_id) 134 135 136 repo_name = os.path.basename(branch.base) 135 137 committer = revision_ac.committer 136 138 authors = revision_ac.get_apparent_authors() 137 139 date = time.strftime("%Y-%m-%d %H:%M:%S %Z (%a, %d %b %Y)", time.localtime(revision_ac.timestamp)) 140 141 body.write("Repo: %s\n" % repo_name) 138 142 139 143 if (authors != [committer]): … … 208 212 tree_prev.unlock() 209 213 210 subject = " r%d - %s" % (revision_ac_no, commit_message)214 subject = "[%s] r%d - %s" % (repo_name, revision_ac_no, commit_message) 211 215 send_smtp("localhost", config_sender(config), config_to(config), subject, body.getvalue()) 212 216 -
contrib/bazaar/bzreml/setup.py
r9f40318f ra4fbb13c 7 7 description = 'Commit email plugin for Bazaar', 8 8 keywords = 'plugin bzr email', 9 version = '1. 3',9 version = '1.4', 10 10 url = 'http://www.decky.cz/', 11 11 license = 'BSD',
Note:
See TracChangeset
for help on using the changeset viewer.