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

history: give branch_color a default value

If the user had no settings file, the setting_vpos lookup would generate a key
error and branch_color would be undefined.

Changeset 723a79127189

Parent db4712ce9506

by Steve Borho

Changes to one file · Browse files at 723a79127189 Showing diff from parent db4712ce9506 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​history.py Stacked
 
325
326
327
 
328
329
330
 
325
326
327
328
329
330
331
@@ -325,6 +325,7 @@
  gdialog.GDialog.load_settings(self, settings)   self.setting_vpos = -1   self.setting_hpos = -1 + self.branch_color = False   self.showcol = {}   try:   self.setting_vpos = settings['glog-vpane']