[PATCH] fix patchbomb prompt when sending serie of patches
Alexander Solovyov
piranha at piranha.org.ua
Fri Sep 25 16:26:36 CDT 2009
# HG changeset patch
# User Alexander Solovyov <piranha at piranha.org.ua>
# Date 1253913993 -10800
# Node ID 716ee9b38a6680eb6a0e69087b2067fe44c99091
# Parent 9114629969488f36ce474cd6eaac10838a0b34e5
fix patchbomb prompt when sending serie of patches
diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -331,8 +331,7 @@ def patchbomb(ui, repo, *revs, **opts):
subj = '[PATCH %0*d of %d %s] ' % (tlen, 0, len(patches), flag)
else:
subj = '[PATCH %0*d of %d] ' % (tlen, 0, len(patches))
- subj += opts.get('subject') or prompt(ui, 'Subject:', rest=subj,
- default='None')
+ subj += opts.get('subject') or prompt(ui, 'Subject:', rest=subj)
body = ''
if opts.get('diffstat'):
More information about the Mercurial-devel
mailing list