Changeset aaa49d282253…
Parent 7222cc41c853…
by
Changes to one file · Browse files at aaa49d282253 Showing diff from parent 7222cc41c853 Diff from another changeset...
@@ -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
|
Loading...