Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

hgemail: pass revisions to patchbomb via --rev option

Changeset 0fc71b3f4982

Parent ebe8a87050d1

by Yuya Nishihara

Changes to one file · Browse files at 0fc71b3f4982 Showing diff from parent ebe8a87050d1 Diff from another changeset...

 
163
164
165
 
166
167
168
 
243
244
245
246
247
 
248
249
250
 
315
316
317
318
319
 
320
321
322
 
163
164
165
166
167
168
169
 
244
245
246
 
 
247
248
249
250
 
315
316
317
 
 
318
319
320
321
@@ -163,6 +163,7 @@
  opts['from'] = headertext(self._qui.from_edit.currentText())   opts['in_reply_to'] = headertext(self._qui.inreplyto_edit.text())   opts['flag'] = [headertext(self._qui.flag_edit.currentText())] + opts['rev'] = map(str, self._revs)     def diffformat():   n = self.getdiffformat() @@ -243,8 +244,7 @@
    opts = self._patchbombopts()   try: - cmd = cmdui.Dialog(['email'] + cmdargs(opts) + list(map(str, self._revs)), - parent=self) + cmd = cmdui.Dialog(['email'] + cmdargs(opts), parent=self)   cmd.setWindowTitle(_('Sending Email'))   cmd.setShowOutput(False)   if cmd.exec_(): @@ -315,8 +315,7 @@
  if 'PAGER' in os.environ:   del os.environ['PAGER']   - loadpatchbomb().patchbomb(ui, self._repo, *map(str, self._revs), - **opts) + loadpatchbomb().patchbomb(ui, self._repo, **opts)   return stripheadmsg(hglib.tounicode(buf.getvalue()))   finally:   if 'desc' in opts: