##// END OF EJS Templates
largefiles: better test coverage of wireproto and the http protocol
Mads Kiilerich -
r18156:0e68a3c1 default
parent child Browse files
Show More
@@ -1469,7 +1469,33 b' Push a largefiles repository to a served'
1469 remote: adding manifests
1469 remote: adding manifests
1470 remote: adding file changes
1470 remote: adding file changes
1471 remote: added 1 changesets with 1 changes to 1 files
1471 remote: added 1 changesets with 1 changes to 1 files
1472 $ rm -rf empty
1472
1473 Clone over http, with largefiles being pulled on update, not on clone.
1474
1475 $ hg clone -q http://localhost:$HGPORT2/ http-clone -U
1476
1477 $ hg -R http-clone --debug up --config largefiles.usercache=http-clone-usercache
1478 resolving manifests
1479 overwrite: False, partial: False
1480 ancestor: 000000000000, local: 000000000000+, remote: cf03e5bb9936
1481 .hglf/f1: remote created -> g
1482 updating: .hglf/f1 1/1 files (100.00%)
1483 getting .hglf/f1
1484 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1485 getting changed largefiles
1486 using http://localhost:$HGPORT2/
1487 sending capabilities command
1488 getting largefiles: 0/1 lfile (0.00%)
1489 getting f1:02a439e5c31c526465ab1a0ca1f431f76b827b90
1490 sending batch command
1491 sending getlfile command
1492 found 02a439e5c31c526465ab1a0ca1f431f76b827b90 in store
1493 1 largefiles updated, 0 removed
1494
1495 $ ls http-clone-usercache/*
1496 http-clone-usercache/02a439e5c31c526465ab1a0ca1f431f76b827b90
1497
1498 $ rm -rf empty http-clone http-clone-usercache
1473
1499
1474 used all HGPORTs, kill all daemons
1500 used all HGPORTs, kill all daemons
1475 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
1501 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
General Comments 0
You need to be logged in to leave comments. Login now