Submitter | phabricator |
---|---|
Date | May 4, 2022, 1:55 p.m. |
Message ID | <differential-rev-PHID-DREV-25j5yspcenxeqlejmwoy-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50951/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/tests/test-dirstate.t b/tests/test-dirstate.t --- a/tests/test-dirstate.t +++ b/tests/test-dirstate.t @@ -133,8 +133,8 @@ > } $ dirstate_uuid_has_not_changed () { - > # Pure Python always rewrites the whole dirstate - > if [ $# -eq 1 ] || [ "$HGMODULEPOLICY" = *"rust"* ] || [ -n "$RHG_INSTALLED_AS_HG" ]; then + > # Non-Rust always rewrites the whole dirstate + > if [ $# -eq 1 ] || ([ -n "$HGMODULEPOLICY" ] && [ -z "${HGMODULEPOLICY##*rust*}" ]) || [ -n "$RHG_INSTALLED_AS_HG" ]; then > test $current_uid = $(find_dirstate_uuid) > fi > }