Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.5, 2.1, and 2.1.1

stable revset: add specific message when no matches found

Changeset 8cac56f8f41e

Parent 5bca3163dfc3

by André Sintzoff

Changes to one file · Browse files at 8cac56f8f41e Showing diff from parent 5bca3163dfc3 Diff from another changeset...

 
381
382
383
384
 
 
 
 
385
386
387
 
381
382
383
 
384
385
386
387
388
389
390
@@ -381,7 +381,10 @@
  l = []   for c in func(self.repo, range(len(self.repo))):   l.append(c) - self.showMessage.emit(_('%d matches found') % len(l)) + if len(l): + self.showMessage.emit(_('%d matches found') % len(l)) + else: + self.showMessage.emit(_('No matches found'))   self.queryIssued.emit(self.query, l)   except error.ParseError, e:   if len(e.args) == 2: