[Changed Subscribers] D12586: rhg: fix dirstate-v2 data file removal system

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Wed May 4 11:30:50 UTC 2022


av6 added inline comments.

INLINE COMMENTS

> test-dirstate.t:137
> +  >   # Pure Python always rewrites the whole dirstate
> +  >   if [ $# -eq 1 ] || [ "$HGMODULEPOLICY" = *"rust"* ] || [ -n "$RHG_INSTALLED_AS_HG" ]; then
> +  >     test $current_uid = $(find_dirstate_uuid)

I know this already landed, but I don't think bash or dash allow you to match variables with globs like that. In my limited testing this was always echoing no:

  P=rust+c
  if [ "$P" = *"rust"* ]; then echo yes; else echo no; fi

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D12586/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D12586

To: Alphare, #hg-reviewers
Cc: av6, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20220504/09747869/attachment-0001.html>


More information about the Mercurial-patches mailing list