##// END OF EJS Templates
patchbomb: fix traceback when diffstat isn't available
Benoit Boissinot -
r5478:5223c360 default
parent child Browse files
Show More
@@ -141,6 +141,9 b' def patchbomb(ui, repo, *revs, **opts):'
141 ui.write(summary, '\n')
141 ui.write(summary, '\n')
142 ui.write(s, '\n')
142 ui.write(s, '\n')
143 confirm(_('Does the diffstat above look okay'))
143 confirm(_('Does the diffstat above look okay'))
144 elif s is None:
145 ui.warn(_('No diffstat information available.\n'))
146 s = ''
144 return s
147 return s
145
148
146 def makepatch(patch, idx, total):
149 def makepatch(patch, idx, total):
General Comments 0
You need to be logged in to leave comments. Login now