Show More
@@ -56,10 +56,12 b' One process waiting for another' | |||||
56 | > EOF |
|
56 | > EOF | |
57 | $ echo b > b/b |
|
57 | $ echo b > b/b | |
58 | $ hg -R b ci -A -m b --config hooks.precommit="python:`pwd`/hooks.py:sleepone" > stdout & |
|
58 | $ hg -R b ci -A -m b --config hooks.precommit="python:`pwd`/hooks.py:sleepone" > stdout & | |
59 | $ hg -R b up -q --config hooks.pre-update="python:`pwd`/hooks.py:sleephalf" |
|
59 | $ hg -R b up -q --config hooks.pre-update="python:`pwd`/hooks.py:sleephalf" \ | |
|
60 | > > preup 2>&1 | |||
|
61 | $ wait | |||
|
62 | $ cat preup | |||
60 | waiting for lock on working directory of b held by '*:*' (glob) |
|
63 | waiting for lock on working directory of b held by '*:*' (glob) | |
61 |
got lock after |
|
64 | got lock after * seconds (glob) | |
62 | $ wait |
|
|||
63 | $ cat stdout |
|
65 | $ cat stdout | |
64 | adding b |
|
66 | adding b | |
65 |
|
67 |
General Comments 0
You need to be logged in to leave comments.
Login now