merge with -stable
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 26 Oct 2007 12:37:59 +0200
changeset 5481 04f033a03b1d
parent 5479 dd5ca84ed868 (current diff)
parent 5480 5223c360503e (diff)
child 5482 7ceb740f2fef
merge with -stable
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -141,6 +141,9 @@ def patchbomb(ui, repo, *revs, **opts):
                 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):