[Updated] D10062: tests: demonstrate assertion error when modifying working copy while narrowing
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Feb 24 16:19:15 UTC 2021
Closed by commit rHGbf0a0b73d3d7: tests: demonstrate assertion error when modifying working copy while narrowing (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10062?vs=25804&id=25883
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10062/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10062
AFFECTED FILES
tests/test-narrow.t
CHANGE DETAILS
diff --git a/tests/test-narrow.t b/tests/test-narrow.t
--- a/tests/test-narrow.t
+++ b/tests/test-narrow.t
@@ -509,3 +509,11 @@
deleting meta/d0/00manifest.i (tree !)
deleting meta/d2/00manifest.i (tree !)
$ ls .hg/strip-backup/
+
+
+Test removing include while concurrently modifying file in that path
+ $ hg clone --narrow ssh://user@dummy/master narrow-concurrent-modify -q \
+ > --include d0 --include d1
+ $ cd narrow-concurrent-modify
+ $ hg --config 'hooks.pretxnopen = echo modified >> d0/f' tracked --removeinclude d0 2>&1 | grep AssertionError
+ AssertionError
To: martinvonz, durin42, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210224/bed7f328/attachment-0002.html>
More information about the Mercurial-patches
mailing list