changeset 5493:04f033a03b1d

merge with -stable
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 26 Oct 2007 12:37:59 +0200
parents dd5ca84ed868 (current diff) 5223c360503e (diff)
children 7ceb740f2fef
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/patchbomb.py	Thu Oct 25 21:37:20 2007 +0200
+++ b/hgext/patchbomb.py	Fri Oct 26 12:37:59 2007 +0200
@@ -141,6 +141,9 @@
                 ui.write(summary, '\n')
                 ui.write(s, '\n')
             confirm(_('Does the diffstat above look okay'))
+        elif s is None:
+            ui.warn(_('No diffstat information available.\n'))
+            s = ''
         return s
 
     def makepatch(patch, idx, total):