Show More
@@ -1,5 +1,12 b'' | |||||
1 | #require killdaemons |
|
1 | #require killdaemons | |
2 |
|
2 | |||
|
3 | $ cat << EOF >> $HGRCPATH | |||
|
4 | > [experimental] | |||
|
5 | > # drop me once bundle2 is the default, | |||
|
6 | > # added to get test change early. | |||
|
7 | > bundle2-exp = True | |||
|
8 | > EOF | |||
|
9 | ||||
3 |
$ |
|
10 | $ hg init test | |
4 | $ cd test |
|
11 | $ cd test | |
5 | $ echo a > a |
|
12 | $ echo a > a | |
@@ -67,7 +74,8 b' expect success' | |||||
67 | remote: adding manifests |
|
74 | remote: adding manifests | |
68 | remote: adding file changes |
|
75 | remote: adding file changes | |
69 | remote: added 1 changesets with 1 changes to 1 files |
|
76 | remote: added 1 changesets with 1 changes to 1 files | |
70 |
remote: |
|
77 | remote: pushkey hook: HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_OLD=1 HG_RET=1 | |
|
78 | remote: changegroup hook: HG_BUNDLE2=1 HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob) | |||
71 | % serve errors |
|
79 | % serve errors | |
72 | $ hg rollback |
|
80 | $ hg rollback | |
73 | repository tip rolled back to revision 0 (undo serve) |
|
81 | repository tip rolled back to revision 0 (undo serve) | |
@@ -83,7 +91,8 b' expect success, server lacks the httphea' | |||||
83 | remote: adding manifests |
|
91 | remote: adding manifests | |
84 | remote: adding file changes |
|
92 | remote: adding file changes | |
85 | remote: added 1 changesets with 1 changes to 1 files |
|
93 | remote: added 1 changesets with 1 changes to 1 files | |
86 |
remote: |
|
94 | remote: pushkey hook: HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_OLD=1 HG_RET=1 | |
|
95 | remote: changegroup hook: HG_BUNDLE2=1 HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob) | |||
87 | % serve errors |
|
96 | % serve errors | |
88 | $ hg rollback |
|
97 | $ hg rollback | |
89 | repository tip rolled back to revision 0 (undo serve) |
|
98 | repository tip rolled back to revision 0 (undo serve) | |
@@ -99,7 +108,8 b' expect success, server lacks the unbundl' | |||||
99 | remote: adding manifests |
|
108 | remote: adding manifests | |
100 | remote: adding file changes |
|
109 | remote: adding file changes | |
101 | remote: added 1 changesets with 1 changes to 1 files |
|
110 | remote: added 1 changesets with 1 changes to 1 files | |
102 |
remote: |
|
111 | remote: pushkey hook: HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_OLD=1 HG_RET=1 | |
|
112 | remote: changegroup hook: HG_BUNDLE2=1 HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob) | |||
103 | % serve errors |
|
113 | % serve errors | |
104 | $ hg rollback |
|
114 | $ hg rollback | |
105 | repository tip rolled back to revision 0 (undo serve) |
|
115 | repository tip rolled back to revision 0 (undo serve) | |
@@ -120,6 +130,9 b' expect push success, phase change failur' | |||||
120 | remote: adding manifests |
|
130 | remote: adding manifests | |
121 | remote: adding file changes |
|
131 | remote: adding file changes | |
122 | remote: added 1 changesets with 1 changes to 1 files |
|
132 | remote: added 1 changesets with 1 changes to 1 files | |
|
133 | remote: prepushkey hook: HG_BUNDLE2=1 HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_OLD=1 HG_PENDING=$TESTTMP/test HG_PHASES_MOVED=1 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob) | |||
|
134 | remote: pushkey-abort: prepushkey hook exited with status 1 | |||
|
135 | updating ba677d0156c1 to public failed! | |||
123 | % serve errors |
|
136 | % serve errors | |
124 |
|
137 | |||
125 | expect phase change success |
|
138 | expect phase change success |
General Comments 0
You need to be logged in to leave comments.
Login now