[Updated] D11766: sparse: demonstrate a bug when used with safe-share
aalekseyev (Arseniy Alekseyev)
phabricator at mercurial-scm.org
Fri Dec 17 13:11:02 UTC 2021
Closed by commit rHG50330d481640: sparse: demonstrate a bug when used with safe-share (authored by aalekseyev).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11766?vs=31174&id=31527
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11766/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11766
AFFECTED FILES
tests/test-sparse-with-safe-share.t
CHANGE DETAILS
diff --git a/tests/test-sparse-with-safe-share.t b/tests/test-sparse-with-safe-share.t
new file mode 100644
--- /dev/null
+++ b/tests/test-sparse-with-safe-share.t
@@ -0,0 +1,25 @@
+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'
+
+Verify basic --include
+
+ $ hg up -q 0
+ $ hg debugsparse --include 'hide'
+ devel-warn: write with no lock: "requires" at: *mercurial/scmutil.py:1558 (writerequires) (glob)
+
+TODO: bug in sparse when used together with safe-share^
To: aalekseyev, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20211217/006555d9/attachment.html>
More information about the Mercurial-patches
mailing list