Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

hgemail: disable --bundle if --outgoing not in use

closes #595

Changeset ea942dee85d8

Parent 5c52812a47aa

by Steve Borho

Changes to one file · Browse files at ea942dee85d8 Showing diff from parent 5c52812a47aa Diff from another changeset...

 
145
146
147
148
 
 
149
150
151
 
 
 
 
 
152
153
154
 
145
146
147
 
148
149
150
151
152
153
154
155
156
157
158
159
160
@@ -145,10 +145,16 @@
  self._bundle = gtk.RadioButton(self._normal,   _('Send single binary bundle, not patches'))   vbox.pack_start(self._bundle, True, True, 4) - self.tooltips.set_tip(self._bundle, + if revargs[0] in ('--outgoing', '-o'): + self.tooltips.set_tip(self._bundle,   _('Bundles store complete changesets in binary form.'   ' Upstream users can pull from them. This is the safest'   ' way to send changes to recipient Mercurial users.')) + else: + self._bundle.set_sensitive(False) + self.tooltips.set_tip(self._bundle, + _('This feature is only available when sending outgoing' + ' changesets. It is not applicable with revision ranges.'))     hbox = gtk.HBox()   vbox.pack_start(hbox, False, False, 2)