Show More
@@ -16,7 +16,7 b' Add a hook to wait 5 seconds and then ab' | |||||
16 |
|
16 | |||
17 | $ cd ../corrupted |
|
17 | $ cd ../corrupted | |
18 | $ echo "[hooks]" >> .hg/hgrc |
|
18 | $ echo "[hooks]" >> .hg/hgrc | |
19 |
$ echo |
|
19 | $ echo 'pretxncommit = sh -c "sleep 5; exit 1"' >> .hg/hgrc | |
20 |
|
20 | |||
21 | start a commit... |
|
21 | start a commit... | |
22 |
|
22 |
@@ -120,7 +120,7 b' Test that pending on transaction without' | |||||
120 | $ cat <<EOF > parent/.hg/hgrc |
|
120 | $ cat <<EOF > parent/.hg/hgrc | |
121 | > [hooks] |
|
121 | > [hooks] | |
122 | > pretxnchangegroup= |
|
122 | > pretxnchangegroup= | |
123 |
> pretxnclose = hg tip -T |
|
123 | > pretxnclose = hg tip -T "tip: {node|short}\n" | |
124 | > [phases] |
|
124 | > [phases] | |
125 | > publishing=False |
|
125 | > publishing=False | |
126 | > EOF |
|
126 | > EOF |
General Comments 0
You need to be logged in to leave comments.
Login now