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

repowidget: do not open email dialog with empty DAG range

Changeset bf646866ca57

Parent d2dbcfa9b858

by Steve Borho

Changes to one file · Browse files at bf646866ca57 Showing diff from parent d2dbcfa9b858 Diff from another changeset...

 
799
800
801
802
 
 
803
804
805
 
799
800
801
 
802
803
804
805
806
@@ -799,7 +799,8 @@
  func = revset.match('%s::%s' % (A, B))   func(self.repo, range(0, 1))   l = [c for c in func(self.repo, range(len(self.repo)))] - run.email(self.repo.ui, rev=l, repo=self.repo) + if l: + run.email(self.repo.ui, rev=l, repo=self.repo)   def bisectNormal():   opts = {'good':str(revA), 'bad':str(revB)}   dlg = bisect.BisectDialog(self.repo, opts, self)