[PATCH] fix patchbomb prompt when sending series of patches
Alexander Solovyov
piranha at piranha.org.ua
Mon Oct 19 14:50:46 CDT 2009
# HG changeset patch
# User Alexander Solovyov <piranha at piranha.org.ua>
# Date 1255981839 -10800
# Node ID 27fce86bea69b32d755735eb3a5dc37adedfb776
# Parent d78fe60f6bda72964df70390196a823eeed5a809
fix patchbomb prompt when sending series 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