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

Changed emblems to use those available in current gnome.

Changeset aaa49d282253

Parent 7222cc41c853

by nev

Changes to one file · Browse files at aaa49d282253 Showing diff from parent 7222cc41c853 Diff from another changeset...

 
217
218
219
220
221
222
223
224
225
226
227
 
 
 
 
 
 
 
 
228
229
230
 
217
218
219
 
 
 
 
 
 
 
 
220
221
222
223
224
225
226
227
228
229
230
@@ -217,14 +217,14 @@
    def _get_file_status(self, localpath, repo=None):   cachestate = cachethg.get_state(localpath, repo) - cache2state = {cachethg.UNCHANGED: ('default', 'clean'), - cachethg.ADDED: ('cvs-added', 'added'), - cachethg.MODIFIED: ('cvs-modified', 'modified'), - cachethg.UNKNOWN: ('new', 'unrevisioned'), - cachethg.IGNORED: (None, 'ignored'), - cachethg.NOT_IN_REPO: (None, ''), - cachethg.ROOT: ('generic', 'root'), - cachethg.UNRESOLVED: ('cvs-confilict', 'unresolved')} + cache2state = {cachethg.UNCHANGED: ('default', 'clean'), + cachethg.ADDED: ('new', 'added'), + cachethg.MODIFIED: ('important', 'modified'), + cachethg.UNKNOWN: (None, 'unrevisioned'), + cachethg.IGNORED: ('noread', 'ignored'), + cachethg.NOT_IN_REPO: (None, 'unrevisioned'), + cachethg.ROOT: ('generic', 'root'), + cachethg.UNRESOLVED: ('danger', 'unresolved')}   emblem, status = cache2state.get(cachestate, (None, '?'))   return emblem, status