diff hgext/patchbomb.py @ 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 cc58c228503e
children 17a9a1f5cee2
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