##// END OF EJS Templates
patchbomb: add (optional) note to 0 of 0 prompt
Matt Mackall -
r16233:3f79b110 default
parent child Browse files
Show More
@@ -384,7 +384,7 b' def patchbomb(ui, repo, *revs, **opts):'
384 prefix = '[PATCH %0*d of %d%s]' % (tlen, 0, len(patches), flag)
384 prefix = '[PATCH %0*d of %d%s]' % (tlen, 0, len(patches), flag)
385
385
386 subj = (opts.get('subject') or
386 subj = (opts.get('subject') or
387 prompt(ui, 'Subject: ', rest=prefix, default=''))
387 prompt(ui, '(optional) Subject: ', rest=prefix, default=''))
388 if not subj:
388 if not subj:
389 return None # skip intro if the user doesn't bother
389 return None # skip intro if the user doesn't bother
390
390
@@ -1572,7 +1572,7 b' no intro message in non-interactive mode'
1572 > -r 0:1
1572 > -r 0:1
1573 This patch series consists of 2 patches.
1573 This patch series consists of 2 patches.
1574
1574
1575 Subject: [PATCH 0 of 2]
1575 (optional) Subject: [PATCH 0 of 2]
1576
1576
1577 Displaying [PATCH 1 of 2] a ...
1577 Displaying [PATCH 1 of 2] a ...
1578 Content-Type: text/plain; charset="us-ascii"
1578 Content-Type: text/plain; charset="us-ascii"
General Comments 0
You need to be logged in to leave comments. Login now