tests/test-clonebundles.t
changeset 40034 393e44324037
parent 39722 4bd6e444c76f
child 40371 5a81c4aa6313
equal deleted inserted replaced
40033:5e5b06087ec5 40034:393e44324037
    25   adding changesets
    25   adding changesets
    26   adding manifests
    26   adding manifests
    27   adding file changes
    27   adding file changes
    28   added 2 changesets with 2 changes to 2 files
    28   added 2 changesets with 2 changes to 2 files
    29   new changesets 53245c60e682:aaff8d2ffbbf
    29   new changesets 53245c60e682:aaff8d2ffbbf
       
    30   (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob)
    30 
    31 
    31   $ cat server/access.log
    32   $ cat server/access.log
    32   * - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
    33   * - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
    33   $LOCALIP - - [$LOGDATE$] "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob)
    34   $LOCALIP - - [$LOGDATE$] "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob)
    34   $LOCALIP - - [$LOGDATE$] "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bookmarks=1&$USUAL_BUNDLE_CAPS$&cg=1&common=0000000000000000000000000000000000000000&heads=aaff8d2ffbbf07a46dd1f05d8ae7877e3f56e2a2&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob)
    35   $LOCALIP - - [$LOGDATE$] "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bookmarks=1&$USUAL_BUNDLE_CAPS$&cg=1&common=0000000000000000000000000000000000000000&heads=aaff8d2ffbbf07a46dd1f05d8ae7877e3f56e2a2&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob)
    43   adding changesets
    44   adding changesets
    44   adding manifests
    45   adding manifests
    45   adding file changes
    46   adding file changes
    46   added 2 changesets with 2 changes to 2 files
    47   added 2 changesets with 2 changes to 2 files
    47   new changesets 53245c60e682:aaff8d2ffbbf
    48   new changesets 53245c60e682:aaff8d2ffbbf
       
    49   (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
    48 
    50 
    49 Manifest file with invalid URL aborts
    51 Manifest file with invalid URL aborts
    50 
    52 
    51   $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest
    53   $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest
    52   $ hg clone http://localhost:$HGPORT 404-url
    54   $ hg clone http://localhost:$HGPORT 404-url