Mercurial > hg
changeset 16233:3f79b110c4f0
patchbomb: add (optional) note to 0 of 0 prompt
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 08 Mar 2012 15:59:41 -0600 |
parents | 877aea86fb73 |
children | a6941d7033fa |
files | hgext/patchbomb.py tests/test-patchbomb.t |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/patchbomb.py Thu Mar 08 15:59:33 2012 -0600 +++ b/hgext/patchbomb.py Thu Mar 08 15:59:41 2012 -0600 @@ -384,7 +384,7 @@ prefix = '[PATCH %0*d of %d%s]' % (tlen, 0, len(patches), flag) subj = (opts.get('subject') or - prompt(ui, 'Subject: ', rest=prefix, default='')) + prompt(ui, '(optional) Subject: ', rest=prefix, default='')) if not subj: return None # skip intro if the user doesn't bother
--- a/tests/test-patchbomb.t Thu Mar 08 15:59:33 2012 -0600 +++ b/tests/test-patchbomb.t Thu Mar 08 15:59:41 2012 -0600 @@ -1572,7 +1572,7 @@ > -r 0:1 This patch series consists of 2 patches. - Subject: [PATCH 0 of 2] + (optional) Subject: [PATCH 0 of 2] Displaying [PATCH 1 of 2] a ... Content-Type: text/plain; charset="us-ascii"