Changeset e1b2305f5685…
Parent 50522cf1202b…
by
Changes to one file · Browse files at e1b2305f5685 Showing diff from parent 50522cf1202b Diff from another changeset...
@@ -262,9 +262,7 @@ cachethg.UNKNOWN: ('new', 'unrevisioned'),
cachethg.IGNORED: (None, 'ignored'),
cachethg.NOT_IN_REPO: (None, '')}
- emblem, status = cache2state.get(cachestate)
- if status == None:
- status = '?'
+ emblem, status = cache2state.get(cachestate, (None, '?'))
return emblem, status
def update_file_info(self, file):
|
Loading...