##// END OF EJS Templates
clone-bundles: reorder some test section and add titles...
marmoute -
r51593:f4e8c82e default
parent child Browse files
Show More
@@ -233,7 +233,14 b' Feature works over SSH'
233 233 no changes found
234 234 2 local changesets published
235 235
236 Inline bundle
237 =============
238
239 Checking bundle retrieved over the wireprotocol
240
236 241 Feature works over SSH with inline bundle
242 -----------------------------------------
243
237 244 $ mkdir server/.hg/bundle-cache/
238 245 $ cp full.hg server/.hg/bundle-cache/
239 246 $ echo "peer-bundle-cache://full.hg" > server/.hg/clonebundles.manifest
@@ -248,7 +255,26 b' Feature works over SSH with inline bundl'
248 255 no changes found
249 256 2 local changesets published
250 257
258 HTTP Supports
259 -------------
260
261 Or lack of it actually
262
263 Feature does not use inline bundle over HTTP(S) because there is no protocaps support
264 (so no way for the client to announce that it supports inline clonebundles)
265 $ hg clone -U http://localhost:$HGPORT http-inline-clone
266 requesting all changes
267 adding changesets
268 adding manifests
269 adding file changes
270 added 2 changesets with 2 changes to 2 files
271 new changesets 53245c60e682:aaff8d2ffbbf
272
273 Pre-transmit Hook
274 -----------------
275
251 276 Hooks work with inline bundle
277
252 278 $ cp server/.hg/hgrc server/.hg/hgrc-beforeinlinehooks
253 279 $ echo "[hooks]" >> server/.hg/hgrc
254 280 $ echo "pretransmit-inline-clone-bundle=echo foo" >> server/.hg/hgrc
@@ -265,6 +291,7 b' Hooks work with inline bundle'
265 291 2 local changesets published
266 292
267 293 Hooks can make an inline bundle fail
294
268 295 $ cp server/.hg/hgrc-beforeinlinehooks server/.hg/hgrc
269 296 $ echo "[hooks]" >> server/.hg/hgrc
270 297 $ echo "pretransmit-inline-clone-bundle=echo bar && false" >> server/.hg/hgrc
@@ -276,15 +303,8 b' Hooks can make an inline bundle fail'
276 303 [255]
277 304 $ cp server/.hg/hgrc-beforeinlinehooks server/.hg/hgrc
278 305
279 Feature does not use inline bundle over HTTP(S) because there is no protocaps support
280 (so no way for the client to announce that it supports inline clonebundles)
281 $ hg clone -U http://localhost:$HGPORT http-inline-clone
282 requesting all changes
283 adding changesets
284 adding manifests
285 adding file changes
286 added 2 changesets with 2 changes to 2 files
287 new changesets 53245c60e682:aaff8d2ffbbf
306 Other tests
307 ===========
288 308
289 309 Entry with unknown BUNDLESPEC is filtered and not used
290 310
General Comments 0
You need to be logged in to leave comments. Login now