Mercurial > hg
comparison tests/test-largefiles.t @ 18156:0e68a3c11295
largefiles: better test coverage of wireproto and the http protocol
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 13 Dec 2012 19:19:06 +0100 |
parents | 5206af8894a3 |
children | 8019f96ec4ce |
comparison
equal
deleted
inserted
replaced
18155:5206af8894a3 | 18156:0e68a3c11295 |
---|---|
1467 searching for changes | 1467 searching for changes |
1468 remote: adding changesets | 1468 remote: adding changesets |
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 |
1476 | 1502 |
1477 #endif | 1503 #endif |