Skip to content
Snippets Groups Projects
Commit 946a07f08906 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

tests: demonstrate assertion error when modifying working copy while narrowing

Differential Revision: https://phab.mercurial-scm.org/D10062
parent ad107ed7a4aa
No related branches found
No related tags found
1 merge request!72ci: hook network-io tests into the pipeline
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment