Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.1, 2.0.2, and 2.0.3

stable sync: validate target index before use (refs #231)

Changeset e8185d5e416a

Parent 7577dcab19e6

by Steve Borho

Changes to one file · Browse files at e8185d5e416a Showing diff from parent 7577dcab19e6 Diff from another changeset...

 
303
304
305
306
 
 
 
307
308
309
 
303
304
305
 
306
307
308
309
310
311
@@ -303,7 +303,9 @@
    def applyTargetOption(self, cmdline):   if self.embedded and self.targetcheckbox.isChecked(): - cmdline += self.targetargs[self.targetcombo.currentIndex()] + idx = self.targetcombo.currentIndex() + if idx != -1 and idx < len(self.targetargs): + cmdline += self.targetargs[idx]   return cmdline     def configChanged(self):