Show More
@@ -156,8 +156,7 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
156 | body += '\n'.join(patch) |
|
156 | body += '\n'.join(patch) | |
157 | msg = email.MIMEText.MIMEText(body) |
|
157 | msg = email.MIMEText.MIMEText(body) | |
158 |
|
158 | |||
159 | subj = desc[0].strip() |
|
159 | subj = desc[0].strip().rstrip('. ') | |
160 | if subj.endswith('.'): subj = subj[:-1] |
|
|||
161 | if total == 1: |
|
160 | if total == 1: | |
162 | subj = '[PATCH] ' + (opts['subject'] or subj) |
|
161 | subj = '[PATCH] ' + (opts['subject'] or subj) | |
163 | else: |
|
162 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now