##// END OF EJS Templates
largefiles: walk history in ascending order while downloading all lfiles...
Yuya Nishihara -
r46027:b0d45612 default
parent child Browse files
Show More
@@ -489,7 +489,7 b' def downloadlfiles(ui, repo):'
489 tonode = repo.changelog.node
489 tonode = repo.changelog.node
490 totalsuccess = 0
490 totalsuccess = 0
491 totalmissing = 0
491 totalmissing = 0
492 for rev in repo.revs(b'reverse(file(%s))', b'path:' + lfutil.shortname):
492 for rev in repo.revs(b'file(%s)', b'path:' + lfutil.shortname):
493 success, missing = cachelfiles(ui, repo, tonode(rev))
493 success, missing = cachelfiles(ui, repo, tonode(rev))
494 totalsuccess += len(success)
494 totalsuccess += len(success)
495 totalmissing += len(missing)
495 totalmissing += len(missing)
@@ -1005,7 +1005,7 b' Test cloning with --all-largefiles flag'
1005 getting changed largefiles
1005 getting changed largefiles
1006 3 largefiles updated, 0 removed
1006 3 largefiles updated, 0 removed
1007 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
1007 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
1008 8 additional largefiles cached
1008 7 additional largefiles cached
1009
1009
1010 $ rm "${USERCACHE}"/*
1010 $ rm "${USERCACHE}"/*
1011 $ hg clone --all-largefiles -u 0 a a-clone0
1011 $ hg clone --all-largefiles -u 0 a a-clone0
@@ -1013,7 +1013,7 b' Test cloning with --all-largefiles flag'
1013 getting changed largefiles
1013 getting changed largefiles
1014 2 largefiles updated, 0 removed
1014 2 largefiles updated, 0 removed
1015 4 files updated, 0 files merged, 0 files removed, 0 files unresolved
1015 4 files updated, 0 files merged, 0 files removed, 0 files unresolved
1016 9 additional largefiles cached
1016 8 additional largefiles cached
1017 $ hg -R a-clone0 sum
1017 $ hg -R a-clone0 sum
1018 parent: 0:30d30fe6a5be
1018 parent: 0:30d30fe6a5be
1019 add files
1019 add files
@@ -1047,7 +1047,7 b' Test cloning with --all-largefiles flag'
1047
1047
1048 $ rm "${USERCACHE}"/*
1048 $ rm "${USERCACHE}"/*
1049 $ hg clone --all-largefiles -U a a-clone-u
1049 $ hg clone --all-largefiles -U a a-clone-u
1050 11 additional largefiles cached
1050 10 additional largefiles cached
1051 $ hg -R a-clone-u sum
1051 $ hg -R a-clone-u sum
1052 parent: -1:000000000000 (no revision checked out)
1052 parent: -1:000000000000 (no revision checked out)
1053 branch: default
1053 branch: default
@@ -389,17 +389,17 b' Ensure the abort message is useful if a '
389 $ rm largefiles-repo/.hg/largefiles/*
389 $ rm largefiles-repo/.hg/largefiles/*
390 $ hg lfconvert --to-normal issue3519 normalized3519
390 $ hg lfconvert --to-normal issue3519 normalized3519
391 initializing destination normalized3519
391 initializing destination normalized3519
392 anotherlarge: largefile 3b71f43ff30f4b15b5cd85dd9e95ebc7e84eb5a3 not available from file:/*/$TESTTMP/largefiles-repo (glob)
392 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
393 stuff/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
394 stuff/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
395 sub/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
396 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
393 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
397 sub/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
394 sub/maybelarge.dat: largefile 34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c not available from file:/*/$TESTTMP/largefiles-repo (glob)
398 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
395 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
399 stuff/maybelarge.dat: largefile 34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c not available from file:/*/$TESTTMP/largefiles-repo (glob)
396 stuff/maybelarge.dat: largefile 34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c not available from file:/*/$TESTTMP/largefiles-repo (glob)
400 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
397 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
401 sub/maybelarge.dat: largefile 34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c not available from file:/*/$TESTTMP/largefiles-repo (glob)
398 sub/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
402 large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob)
399 sub/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
400 stuff/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
401 anotherlarge: largefile 3b71f43ff30f4b15b5cd85dd9e95ebc7e84eb5a3 not available from file:/*/$TESTTMP/largefiles-repo (glob)
402 stuff/maybelarge.dat: largefile 76236b6a2c6102826c61af4297dd738fb3b1de38 not available from file:/*/$TESTTMP/largefiles-repo (glob)
403 0 additional largefiles cached
403 0 additional largefiles cached
404 11 largefiles failed to download
404 11 largefiles failed to download
405 abort: all largefiles must be present locally
405 abort: all largefiles must be present locally
General Comments 0
You need to be logged in to leave comments. Login now