Show More
@@ -156,8 +156,7 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
156 | if line.startswith('# Node ID'): |
|
156 | if line.startswith('# Node ID'): | |
157 | node = line.split()[-1] |
|
157 | node = line.split()[-1] | |
158 | continue |
|
158 | continue | |
159 |
if |
|
159 | if line.startswith('diff -r') or line.startswith('diff --git'): | |
160 | or line.startswith('diff --git')): |
|
|||
161 | break |
|
160 | break | |
162 | desc.append(line) |
|
161 | desc.append(line) | |
163 | if not node: |
|
162 | if not node: | |
@@ -316,11 +315,10 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
316 | tlen = len(str(len(patches))) |
|
315 | tlen = len(str(len(patches))) | |
317 |
|
316 | |||
318 | subj = '[PATCH %0*d of %d] %s' % ( |
|
317 | subj = '[PATCH %0*d of %d] %s' % ( | |
319 | tlen, 0, |
|
318 | tlen, 0, len(patches), | |
320 | len(patches), |
|
|||
321 | opts['subject'] or |
|
319 | opts['subject'] or | |
322 |
prompt('Subject:', |
|
320 | prompt('Subject:', | |
323 | len(patches)))) |
|
321 | rest=' [PATCH %0*d of %d] ' % (tlen, 0, len(patches)))) | |
324 |
|
322 | |||
325 | body = '' |
|
323 | body = '' | |
326 | if opts['diffstat']: |
|
324 | if opts['diffstat']: |
General Comments 0
You need to be logged in to leave comments.
Login now