Show More
@@ -1,5 +1,3 b'' | |||||
1 | $ "$TESTDIR/hghave" system-sh || exit 80 |
|
|||
2 |
|
||||
3 | Corrupt an hg repo with a pull started during an aborted commit |
|
1 | Corrupt an hg repo with a pull started during an aborted commit | |
4 | Create two repos, so that one of them can pull from the other one. |
|
2 | Create two repos, so that one of them can pull from the other one. | |
5 |
|
3 | |||
@@ -17,8 +15,8 b' Create two repos, so that one of them ca' | |||||
17 | 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 | |
18 |
|
16 | |||
19 | $ cd ../corrupted |
|
17 | $ cd ../corrupted | |
20 |
$ echo |
|
18 | $ echo "[hooks]" >> .hg/hgrc | |
21 |
$ echo |
|
19 | $ echo "pretxncommit = sh -c 'sleep 5; exit 1'" >> .hg/hgrc | |
22 |
|
20 | |||
23 | start a commit... |
|
21 | start a commit... | |
24 |
|
22 |
General Comments 0
You need to be logged in to leave comments.
Login now