Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

stable history: catch LookupError when passed unrelated bundle file

Fixes #942

Changeset bf07c24f9694

Parent 3bfea9d64ffd

by Yuki KODAMA

Changes to one file · Browse files at bf07c24f9694 Showing diff from parent 3bfea9d64ffd Diff from another changeset...

 
1762
1763
1764
 
 
 
 
 
1765
1766
1767
 
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
@@ -1762,6 +1762,11 @@
    self.stbar.set_idle_text(_('Bundle Preview'))   self.bundle_autoreject = False + except error.LookupError: + self.remove_overlay(False) + gtklib.idle_add_single_call(self.stbar.set_idle_text, + _('Failed to preview, a bundle file unrelated ' + 'to this repository'))   except error.Abort:   self.remove_overlay(False)   gtklib.idle_add_single_call(self.stbar.set_idle_text,