# HG changeset patch # User Simon Sapin # Date 1639507653 -3600 # Node ID 3eb3aef6d3bf97519c2b451ed737f8dc184a2c0a # Parent a16eedf47843746f05026ca215fb459774eed89e rhg: Mark it as expected that the issue6528 bug is not reproduced Differential Revision: https://phab.mercurial-scm.org/D11909 diff -r a16eedf47843 -r 3eb3aef6d3bf tests/test-issue6528.t --- a/tests/test-issue6528.t Tue Dec 14 13:41:34 2021 -0800 +++ b/tests/test-issue6528.t Tue Dec 14 19:47:33 2021 +0100 @@ -2,10 +2,6 @@ Test non-regression on the corruption associated with issue6528 =============================================================== -TODO: fix rhg bugs that make this test fail when status is enabled - $ unset RHG_STATUS - - Setup ===== @@ -191,9 +187,14 @@ #endif Check that the issue is present +(It is currently not present with rhg but will be when optimizations are added +to resolve ambiguous files at the end of status without reading their content +if the size differs, and reading the expected size without resolving filelog +deltas where possible.) + $ hg st - M D.txt - M b.txt + M D.txt (no-rhg !) + M b.txt (no-rhg !) $ hg debugrevlogindex b.txt rev linkrev nodeid p1 p2 0 2 05b806ebe5ea 000000000000 000000000000 @@ -211,8 +212,8 @@ found affected revision 1 for filelog 'data/b.txt.i' found affected revision 3 for filelog 'data/b.txt.i' $ hg st - M D.txt - M b.txt + M D.txt (no-rhg !) + M b.txt (no-rhg !) $ hg debugrevlogindex b.txt rev linkrev nodeid p1 p2 0 2 05b806ebe5ea 000000000000 000000000000 @@ -230,8 +231,8 @@ found affected revision 1 for filelog 'data/b.txt.i' found affected revision 3 for filelog 'data/b.txt.i' $ hg st - M D.txt - M b.txt + M D.txt (no-rhg !) + M b.txt (no-rhg !) $ hg debugrevlogindex b.txt rev linkrev nodeid p1 p2 0 2 05b806ebe5ea 000000000000 000000000000 @@ -307,8 +308,8 @@ found affected revision 1 for filelog 'b.txt' found affected revision 3 for filelog 'b.txt' $ hg st - M D.txt - M b.txt + M D.txt (no-rhg !) + M b.txt (no-rhg !) $ hg debugrevlogindex b.txt rev linkrev nodeid p1 p2 0 2 05b806ebe5ea 000000000000 000000000000