Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.5, 0.6, and 0.7

sync: Make sure patchbomb extension is loaded

When trying to email patches without having the mailbomb extension
enabled, you would get some traceback complaining about a missing
response function. This patch loads the extension no matter what
the hgrc file does.

Changeset 698fc26485c5

Parent ab85eddf519f

by Peer Sommerlund

Changes to one file · Browse files at 698fc26485c5 Showing diff from parent ab85eddf519f Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgemail.py Stacked
 
203
204
205
206
207
208
209
210
211
212
 
213
214
215
 
203
204
205
 
 
 
 
 
 
 
206
207
208
209
@@ -203,13 +203,7 @@
  self.repo = None   return   - for name, module in extensions.extensions(): - if name == 'patchbomb': - break - else: - error_dialog(self, 'Email not enabled', - 'You must enable the patchbomb extension to use this tool') - self.response(gtk.RESPONSE_CANCEL) + extensions.load(self.repo.ui, 'patchbomb', None)     if initial:   # Only zap these fields at startup