##// END OF EJS Templates
tests: make a multi-statement hook in bundle2-exchange Windows compatible...
Matt Harbison -
r23672:7853e860 default
parent child Browse files
Show More
@@ -7,6 +7,11 b' Test exchange of common information usin'
7
7
8 enable obsolescence
8 enable obsolescence
9
9
10 $ cat > $TESTDIR/bundle2-pushkey-hook.sh << EOF
11 > echo pushkey: lock state after \"\$HG_NAMESPACE\"
12 > hg debuglock
13 > EOF
14
10 $ cat >> $HGRCPATH << EOF
15 $ cat >> $HGRCPATH << EOF
11 > [experimental]
16 > [experimental]
12 > evolution=createmarkers,exchange
17 > evolution=createmarkers,exchange
@@ -24,7 +29,7 b' enable obsolescence'
24 > b2x-pretransactionclose.tip = hg log -r tip -T "pre-close-tip:{node|short} {phase} {bookmarks}\n"
29 > b2x-pretransactionclose.tip = hg log -r tip -T "pre-close-tip:{node|short} {phase} {bookmarks}\n"
25 > b2x-transactionclose.tip = hg log -r tip -T "postclose-tip:{node|short} {phase} {bookmarks}\n"
30 > b2x-transactionclose.tip = hg log -r tip -T "postclose-tip:{node|short} {phase} {bookmarks}\n"
26 > b2x-transactionclose.env = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" b2x-transactionclose"
31 > b2x-transactionclose.env = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" b2x-transactionclose"
27 > pushkey= echo pushkey: lock state after \"\$HG_NAMESPACE\"; hg debuglock
32 > pushkey= sh "$TESTDIR/bundle2-pushkey-hook.sh"
28 > EOF
33 > EOF
29
34
30 The extension requires a repo (currently unused)
35 The extension requires a repo (currently unused)
General Comments 0
You need to be logged in to leave comments. Login now