Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

overlay: convert tortoisehg.overlayicons to list

to prepare for future expansion.

Changeset 80047c5c496a

Parent 3177845d0a93

by TK Soh

Changes to one file · Browse files at 80047c5c496a Showing diff from parent 3177845d0a93 Diff from another changeset...

 
170
171
172
173
174
175
 
 
 
176
177
178
 
170
171
172
 
 
 
173
174
175
176
177
178
@@ -170,9 +170,9 @@
  repo = hg.repository(ui.ui(), path=root)     # check if to display overlay icons in this repo - show_overlay = repo.ui.config('tortoisehg', 'overlayicons', 'enabled') - print "%s: overlay icons %s" % (path, show_overlay) - if show_overlay != 'enabled': + show_overlay = repo.ui.configlist('tortoisehg', 'overlayicons', []) + print "%s: overlay icons = " % path, show_overlay + if 'disabled' in show_overlay:   overlay_cache = {}   for f in get_cache_list(path):   overlay_cache[f] = (UNKNOWN, tc)