Skip to content
Snippets Groups Projects
Commit d2fe9aaedcaf authored by Adrian Buehlmann's avatar Adrian Buehlmann
Browse files

test-clone-pull-corruption: adapt for Windows

parent cdbb53a640c1
No related branches found
No related tags found
No related merge requests found
$ "$TESTDIR/hghave" system-sh || exit 80
Corrupt an hg repo with a pull started during an aborted commit
Create two repos, so that one of them can pull from the other one.
......@@ -17,8 +15,8 @@
Add a hook to wait 5 seconds and then abort the commit
$ cd ../corrupted
$ echo '[hooks]' >> .hg/hgrc
$ echo 'pretxncommit = sleep 5; exit 1' >> .hg/hgrc
$ echo "[hooks]" >> .hg/hgrc
$ echo "pretxncommit = sh -c 'sleep 5; exit 1'" >> .hg/hgrc
start a commit...
......
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