Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable manifest: fix KeyError when starting dialog by thg annotate command

Changeset a861aa6ed0a7

Parent 46296c315034

by Yuya Nishihara

Changes to one file · Browse files at a861aa6ed0a7 Showing diff from parent 46296c315034 Diff from another changeset...

 
541
542
543
544
 
 
545
546
547
 
541
542
543
 
544
545
546
547
548
@@ -541,7 +541,8 @@
  dlg.setSearchPattern(opts['pattern'])   if dlg._manifest_widget._fileview.actionAnnMode.isEnabled():   dlg._manifest_widget._fileview.actionAnnMode.trigger() - dlg.setSearchCaseInsensitive(opts['ignorecase']) + if 'ignorecase' in opts: + dlg.setSearchCaseInsensitive(opts['ignorecase'])   except IndexError:   pass   dlg.setSearchPattern(hglib.tounicode(opts.get('pattern')) or '')