Show More
@@ -66,11 +66,16 b' expect authorization error: must have au' | |||
|
66 | 66 | |
|
67 | 67 | expect success |
|
68 | 68 | |
|
69 | $ cat > $TESTTMP/hook.sh <<'EOF' | |
|
70 | > echo "phase-move: $HG_NODE: $HG_OLDPHASE -> $HG_PHASE" | |
|
71 | > EOF | |
|
72 | ||
|
69 | 73 | $ cat >> .hg/hgrc <<EOF |
|
70 | 74 | > allow_push = * |
|
71 | 75 | > [hooks] |
|
72 | 76 | > changegroup = sh -c "printenv.py changegroup 0" |
|
73 | 77 | > pushkey = sh -c "printenv.py pushkey 0" |
|
78 | > txnclose-phase.test = sh $TESTTMP/hook.sh | |
|
74 | 79 | > EOF |
|
75 | 80 | $ req |
|
76 | 81 | pushing to http://localhost:$HGPORT/ |
@@ -79,6 +84,8 b' expect success' | |||
|
79 | 84 | remote: adding manifests |
|
80 | 85 | remote: adding file changes |
|
81 | 86 | remote: added 1 changesets with 1 changes to 1 files |
|
87 | remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: draft -> public | |
|
88 | remote: phase-move: ba677d0156c1196c1a699fa53f390dcfc3ce3872: -> public | |
|
82 | 89 | remote: changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NODE_LAST=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_URL=remote:http:$LOCALIP: (glob) |
|
83 | 90 | % serve errors |
|
84 | 91 | $ hg rollback |
@@ -95,6 +102,8 b' expect success, server lacks the httphea' | |||
|
95 | 102 | remote: adding manifests |
|
96 | 103 | remote: adding file changes |
|
97 | 104 | remote: added 1 changesets with 1 changes to 1 files |
|
105 | remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: draft -> public | |
|
106 | remote: phase-move: ba677d0156c1196c1a699fa53f390dcfc3ce3872: -> public | |
|
98 | 107 | remote: changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NODE_LAST=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_URL=remote:http:$LOCALIP: (glob) |
|
99 | 108 | % serve errors |
|
100 | 109 | $ hg rollback |
@@ -111,6 +120,8 b' expect success, server lacks the unbundl' | |||
|
111 | 120 | remote: adding manifests |
|
112 | 121 | remote: adding file changes |
|
113 | 122 | remote: added 1 changesets with 1 changes to 1 files |
|
123 | remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: draft -> public | |
|
124 | remote: phase-move: ba677d0156c1196c1a699fa53f390dcfc3ce3872: -> public | |
|
114 | 125 | remote: changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NODE_LAST=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_URL=remote:http:$LOCALIP: (glob) |
|
115 | 126 | % serve errors |
|
116 | 127 | $ hg rollback |
@@ -140,6 +151,8 b' has no parameter' | |||
|
140 | 151 | remote: adding manifests |
|
141 | 152 | remote: adding file changes |
|
142 | 153 | remote: added 1 changesets with 1 changes to 1 files |
|
154 | remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: draft -> public | |
|
155 | remote: phase-move: ba677d0156c1196c1a699fa53f390dcfc3ce3872: -> public | |
|
143 | 156 | remote: changegroup hook: * (glob) |
|
144 | 157 | % serve errors |
|
145 | 158 | $ hg rollback |
General Comments 0
You need to be logged in to leave comments.
Login now