Mercurial > hg
view tests/test-sparse-with-safe-share.t @ 49848:139f713010ea
watchman: drop some py2 compat code
The `unicode` reference was being flagged by pytype, even though it was never
evaluated on py3. There's more that can be dropped and `compat.py` can probably
be inlined if we don't care about minimizing the code changes from FB. But I
don't feel like dealing with that.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 05 Jan 2023 00:09:48 -0500 |
parents | b74ee41addee |
children |
line wrap: on
line source
Same with share-safe $ echo "[format]" >> $HGRCPATH $ echo "use-share-safe = True" >> $HGRCPATH $ cd $TESTTMP $ hg init myrepo $ cd myrepo $ cat > .hg/hgrc <<EOF > [extensions] > sparse= > EOF $ echo a > show $ echo x > hide $ hg ci -Aqm 'initial' Regression test: checks that this command correctly locks the store before updating the store [requirements] config. $ hg up -q 0 $ hg debugsparse --include 'hide'