# HG changeset patch # User Pierre-Yves David # Date 2023-02-16 16:12:21 # Node ID a28cedb261392b055e36fc630132d2945f7f4d66 # Parent a66926099c0ff2f693c9c9f94fe8018822b3cd6a test-hardlink: stop explicitly listing `undo.dirstate` The files is on its way out. diff --git a/tests/test-hardlinks.t b/tests/test-hardlinks.t --- a/tests/test-hardlinks.t +++ b/tests/test-hardlinks.t @@ -277,9 +277,9 @@ r4 has hardlinks in the working dir (not Update back to revision 12 in r4 should break hardlink of file f1 and f3: #if hardlink-whitelisted - $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/undo.dirstate + $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/dirstate + 2 r4/.hg/dirstate 4 r4/.hg/undo.backup.dirstate - 4 r4/.hg/undo.dirstate #endif @@ -335,9 +335,9 @@ Update back to revision 12 in r4 should 2 r4/f3 (no-execbit !) #if hardlink-whitelisted - $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/undo.dirstate + $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/dirstate + 1 r4/.hg/dirstate 4 r4/.hg/undo.backup.dirstate - 4 r4/.hg/undo.dirstate #endif Test hardlinking outside hg: