##// END OF EJS Templates
repoview: fix corrupted hiddencache crash Mercurial (issue5042)...
repoview: fix corrupted hiddencache crash Mercurial (issue5042) Before this patch if the hiddencache existed but was empty, it would crash mercurial. This patch adds exception handling when reading the hiddencache to avoid the issue. When encountering a corrupted cache file we print a devel warning. There would be no point in issuing a normal warning as the user wouldn't be able to do anything about the situation. The warning looks like: devel-warn: corrupted hidden cache, removing it at: /path/to/repoview.py

File last commit:

r10838:07dbafd3 stable
r27917:97e0dc6d stable
Show More
test-status-inprocess.py.out
5 lines | 62 B | text/plain | TextLexer
/ tests / test-status-inprocess.py.out
% creating repo
% add and commit
C test.py
% change
M test.py