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

status: add a check for no applicable files

Changeset dd9f28c8a837

Parent 8777503637c4

by Steve Borho

Changes to 2 files · Browse files at dd9f28c8a837 Showing diff from parent 8777503637c4 Diff from another changeset...

 
23
24
25
26
27
28
29
 
23
24
25
 
26
27
28
@@ -23,7 +23,6 @@
   # Technical Debt  # command running functionality -# perhaps a check for no applicable files    class QuickOpDialog(QtGui.QDialog):   """ Dialog for performing quick dirstate operations """
 
226
227
228
 
 
 
 
229
230
231
 
226
227
228
229
230
231
232
233
234
235
@@ -226,6 +226,10 @@
  checked = self.tv.model().getChecked()   else:   checked = self.patchecked + if self.pats and not self.patchecked: + qtlib.WarningMsgBox(_('No appropriate files'), + _('No files found for this operation'), + parent=self)   tm = WctxModel(self.wctx, self.ms, self.opts, checked)   self.tv.setModel(tm)   self.tv.setSortingEnabled(True)