##// END OF EJS Templates
test: use bundle2 in test-push-http...
Pierre-Yves David -
r25390:14c6b4c6 default
parent child Browse files
Show More
@@ -1,5 +1,12 b''
1 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 11 $ cd test
5 12 $ echo a > a
@@ -67,7 +74,8 b' expect success'
67 74 remote: adding manifests
68 75 remote: adding file changes
69 76 remote: added 1 changesets with 1 changes to 1 files
70 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob)
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 79 % serve errors
72 80 $ hg rollback
73 81 repository tip rolled back to revision 0 (undo serve)
@@ -83,7 +91,8 b' expect success, server lacks the httphea'
83 91 remote: adding manifests
84 92 remote: adding file changes
85 93 remote: added 1 changesets with 1 changes to 1 files
86 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob)
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 96 % serve errors
88 97 $ hg rollback
89 98 repository tip rolled back to revision 0 (undo serve)
@@ -99,7 +108,8 b' expect success, server lacks the unbundl'
99 108 remote: adding manifests
100 109 remote: adding file changes
101 110 remote: added 1 changesets with 1 changes to 1 files
102 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob)
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 113 % serve errors
104 114 $ hg rollback
105 115 repository tip rolled back to revision 0 (undo serve)
@@ -120,6 +130,9 b' expect push success, phase change failur'
120 130 remote: adding manifests
121 131 remote: adding file changes
122 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 136 % serve errors
124 137
125 138 expect phase change success
General Comments 0
You need to be logged in to leave comments. Login now