tests/test-clonebundles.t
changeset 50686 a41eeb877d07
parent 50542 7b723217d368
child 50700 f4e8c82e2cef
equal deleted inserted replaced
50685:b9a355763e76 50686:a41eeb877d07
    56   error fetching bundle: (.* not known|(\[Errno -?\d+] )?([Nn]o address associated with (host)?name|Temporary failure in name resolution|Name does not resolve)) (re) (no-windows !)
    56   error fetching bundle: (.* not known|(\[Errno -?\d+] )?([Nn]o address associated with (host)?name|Temporary failure in name resolution|Name does not resolve)) (re) (no-windows !)
    57   error fetching bundle: [Errno 1100*] getaddrinfo failed (glob) (windows !)
    57   error fetching bundle: [Errno 1100*] getaddrinfo failed (glob) (windows !)
    58   abort: error applying bundle
    58   abort: error applying bundle
    59   (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
    59   (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
    60   [255]
    60   [255]
       
    61 
       
    62 Manifest file with URL with unknown scheme skips the URL
       
    63   $ echo 'weirdscheme://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest
       
    64   $ hg clone http://localhost:$HGPORT unknown-scheme
       
    65   no compatible clone bundles available on server; falling back to regular clone
       
    66   (you may want to report this to the server operator)
       
    67   requesting all changes
       
    68   adding changesets
       
    69   adding manifests
       
    70   adding file changes
       
    71   added 2 changesets with 2 changes to 2 files
       
    72   new changesets 53245c60e682:aaff8d2ffbbf
       
    73   updating to branch default
       
    74   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
    61 
    75 
    62 Server is not running aborts
    76 Server is not running aborts
    63 
    77 
    64   $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest
    78   $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest
    65   $ hg clone http://localhost:$HGPORT server-not-runner
    79   $ hg clone http://localhost:$HGPORT server-not-runner