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

sync: disable authentication dialog when URL is ssh://

Changeset c31c5c69803a

Parent 9ae2bb75ed50

by Steve Borho

Changes to one file · Browse files at c31c5c69803a Showing diff from parent 9ae2bb75ed50 Diff from another changeset...

 
243
244
245
246
247
248
249
 
 
 
 
250
251
252
 
243
244
245
 
 
 
 
246
247
248
249
250
251
252
@@ -243,10 +243,10 @@
  if self.updateInProgress:   return   self.urllabel.setText(self.currentUrl(True)) - notlocal = (self.schemecombo.currentIndex() != 0) - self.hostentry.setEnabled(notlocal) - self.portentry.setEnabled(notlocal) - self.authbutton.setEnabled(notlocal) + schemeIndex = self.schemecombo.currentIndex() + self.hostentry.setEnabled(schemeIndex != 0) + self.portentry.setEnabled(schemeIndex != 0) + self.authbutton.setEnabled(schemeIndex > 1)     def currentUrl(self, hidepw):   scheme = _schemes[self.schemecombo.currentIndex()]