Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

datamine: catch empty selected paths

Prevents tracebacks during annotates

Changeset 15a872634252

Parent 6d5d139bc8c2

by Steve Borho

Changes to one file · Browse files at 15a872634252 Showing diff from parent 6d5d139bc8c2 Diff from another changeset...

 
690
691
692
 
 
693
694
695
 
690
691
692
693
694
695
696
697
@@ -690,6 +690,8 @@
  def log_selection_changed(self, graphview, path):   treeview = graphview.treeview   (model, paths) = treeview.get_selection().get_selected_rows() + if not paths: + return   revid = graphview.get_revid_at_path(paths[0])   self.currev = str(revid)   wfile = graphview.get_wfile_at_path(paths[0])