equal
deleted
inserted
replaced
14 |
14 |
15 Add a hook to wait 5 seconds and then abort the commit |
15 Add a hook to wait 5 seconds and then abort the commit |
16 |
16 |
17 $ cd ../corrupted |
17 $ cd ../corrupted |
18 $ echo "[hooks]" >> .hg/hgrc |
18 $ echo "[hooks]" >> .hg/hgrc |
19 $ echo "pretxncommit = sh -c 'sleep 5; exit 1'" >> .hg/hgrc |
19 $ echo 'pretxncommit = sh -c "sleep 5; exit 1"' >> .hg/hgrc |
20 |
20 |
21 start a commit... |
21 start a commit... |
22 |
22 |
23 $ touch bar |
23 $ touch bar |
24 $ hg add bar |
24 $ hg add bar |