Changeset 99047a72 in mainline for contrib/bazaar/bzreml/__init__.py
- Timestamp:
- 2012-07-29T21:11:10Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dce39b4
- Parents:
- 4efeab5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/bazaar/bzreml/__init__.py
r4efeab5 r99047a72 119 119 body = StringIO() 120 120 121 commit_message_new = None 121 122 for revision_ac_id in revision_sequence(branch, revision_old_id, revision_new_id): 122 123 revision_ac = branch.repository.get_revision(revision_ac_id) … … 153 154 commit_message = "(empty)" 154 155 156 if commit_message_new == None: 157 commit_message_new = commit_message 158 155 159 body.write("\n") 160 161 if commit_message_new == None: 162 commit_message_new = "(none)" 156 163 157 164 tree_old = branch.repository.revision_tree(revision_old_id) … … 199 206 tree_old.unlock() 200 207 201 subject = "r%d - %s" % (revision_new_no, commit_message )208 subject = "r%d - %s" % (revision_new_no, commit_message_new) 202 209 203 210 send_smtp("localhost", config_sender(config), config_to(config), subject, body.getvalue())
Note:
See TracChangeset
for help on using the changeset viewer.