##// END OF EJS Templates
tests: demonstrate a case where a corrupt tag cache causes an abort...
tests: demonstrate a case where a corrupt tag cache causes an abort I happened to hit this trying to cover other cases around valid vs missing entries. I have no idea if this is something that could occur more naturally (similar to how a missing file node in `hgtagsfnodes1` can occur after a strip). There is a test just above this added in f5a7cf0adb12 mentioning it "overwrites the junk", though that tests truncation instead of actual garbage. But since this is just a cache, it probably shouldn't abort with a cryptic message like this. The two options I see both have downsides- either rebuild the cache (and potentially take a long time), or hint to the user to run a debug command. Differential Revision: https://phab.mercurial-scm.org/D9812
Matt Harbison -
r47400:9ea6b75b default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core / src
config
dirstate
operations
revlog
utils
ancestors.rs Loading ...
config.rs Loading ...
copy_tracing.rs Loading ...
dagops.rs Loading ...
dirstate.rs Loading ...
discovery.rs Loading ...
errors.rs Loading ...
filepatterns.rs Loading ...
lib.rs Loading ...
logging.rs Loading ...
matchers.rs Loading ...
repo.rs Loading ...
requirements.rs Loading ...
revlog.rs Loading ...
revset.rs Loading ...
testing.rs Loading ...
utils.rs Loading ...