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

sync.py: add warning in postpull about extensions not active

Changeset fc457a1748a2

Parent 981bcd6d840a

by Johan Samyn

Changes to one file · Browse files at fc457a1748a2 Showing diff from parent 981bcd6d840a Diff from another changeset...

 
376
377
378
379
 
 
 
 
 
380
381
382
383
384
 
 
 
 
 
385
386
387
 
376
377
378
 
379
380
381
382
383
384
385
386
387
 
388
389
390
391
392
393
394
395
@@ -376,12 +376,20 @@
  layout.addWidget(self.update)     if 'fetch' in repo.extensions() or repo.postpull == 'fetch': - self.fetch = QRadioButton(_('Fetch - use fetch extension')) + if 'fetch' in repo.extensions(): + btntxt = _('Fetch - use fetch extension') + else: + btntxt = _('Fetch - use fetch extension (fetch is not active!)') + self.fetch = QRadioButton(btntxt)   layout.addWidget(self.fetch)   else:   self.fetch = None   if 'rebase' in repo.extensions() or repo.postpull == 'rebase': - self.rebase = QRadioButton(_('Rebase - use rebase extension')) + if 'rebase' in repo.extensions(): + btntxt = _('Rebase - use rebase extension') + else: + btntxt = _('Rebase - use rebase extension (rebase is not active!)') + self.rebase = QRadioButton(btntxt)   layout.addWidget(self.rebase)     self.none.setChecked(True)