tests/test-url-download.t
changeset 35564 cf841f2b5a72
parent 35562 6580cf751418
child 35730 05d415790761
equal deleted inserted replaced
35563:4aa6ed598323 35564:cf841f2b5a72
    32 Check other kind of compatible url
    32 Check other kind of compatible url
    33 
    33 
    34   $ hg debugdownload ./null.txt
    34   $ hg debugdownload ./null.txt
    35   1 0000000000000000000000000000000000000000
    35   1 0000000000000000000000000000000000000000
    36 
    36 
       
    37 Test largefile URL
       
    38 ------------------
       
    39 
       
    40   $ cat << EOF >> $HGRCPATH
       
    41   > [extensions]
       
    42   > largefiles=
       
    43   > EOF
       
    44 
       
    45   $ killdaemons.py
       
    46   $ rm -f error.log hg1.pid
       
    47   $ hg serve -R server -p $HGPORT -d --pid-file=hg1.pid -E error.log
       
    48   $ cat hg1.pid >> $DAEMON_PIDS
       
    49 
       
    50   $ hg -R server debuglfput null.txt
       
    51   a57b57b39ee4dc3da1e03526596007f480ecdbe8
       
    52 
       
    53   $ hg --traceback debugdownload "largefile://a57b57b39ee4dc3da1e03526596007f480ecdbe8" --config paths.default=http://localhost:$HGPORT/
       
    54   1 0000000000000000000000000000000000000000