Submitter | phabricator |
---|---|
Date | Aug. 12, 2019, 9:23 p.m. |
Message ID | <9f1c95e5f35c3c3637d9708dced2e2df@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/41251/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/tests/test-fncache.t b/tests/test-fncache.t --- a/tests/test-fncache.t +++ b/tests/test-fncache.t @@ -435,6 +435,17 @@ data/.bar.i data/foo.i +debugrebuildfncache fails to recover from truncated line in fncache + + $ printf a > .hg/store/fncache + $ hg debugrebuildfncache + abort: fncache does not ends with a newline + (use 'hg debugrebuildfncache' to rebuild the fncache) + [255] + + $ cat .hg/store/fncache | sort + a + $ cd .. Try a simple variation without dotencode to ensure fncache is ignorant of encoding