Mercurial > hg
comparison tests/test-largefiles.t @ 17602:ccd28eca37f6
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 18 Sep 2012 16:19:56 -0500 |
parents | 2eac9641496d 6e2ab601be3f |
children | 67deea9c1c42 |
comparison
equal
deleted
inserted
replaced
17597:772b3764d3e8 | 17602:ccd28eca37f6 |
---|---|
668 5 files updated, 0 files merged, 0 files removed, 0 files unresolved | 668 5 files updated, 0 files merged, 0 files removed, 0 files unresolved |
669 getting changed largefiles | 669 getting changed largefiles |
670 3 largefiles updated, 0 removed | 670 3 largefiles updated, 0 removed |
671 8 additional largefiles cached | 671 8 additional largefiles cached |
672 | 672 |
673 $ rm "${USERCACHE}"/* | |
674 $ hg clone --all-largefiles -u 0 a a-clone0 | |
675 updating to branch default | |
676 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
677 getting changed largefiles | |
678 2 largefiles updated, 0 removed | |
679 9 additional largefiles cached | |
680 $ hg -R a-clone0 sum | |
681 parent: 0:30d30fe6a5be | |
682 add files | |
683 branch: default | |
684 commit: (clean) | |
685 update: 7 new changesets (update) | |
686 | |
687 $ rm "${USERCACHE}"/* | |
688 $ hg clone --all-largefiles -u 1 a a-clone1 | |
689 updating to branch default | |
690 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
691 getting changed largefiles | |
692 2 largefiles updated, 0 removed | |
693 8 additional largefiles cached | |
694 $ hg -R a-clone1 sum | |
695 parent: 1:ce8896473775 | |
696 edit files | |
697 branch: default | |
698 commit: (clean) | |
699 update: 6 new changesets (update) | |
700 | |
701 $ rm "${USERCACHE}"/* | |
702 $ hg clone --all-largefiles -U a a-clone-u | |
703 11 additional largefiles cached | |
704 $ hg -R a-clone-u sum | |
705 parent: -1:000000000000 (no revision checked out) | |
706 branch: default | |
707 commit: (clean) | |
708 update: 8 new changesets (update) | |
709 | |
710 $ mkdir xyz | |
711 $ cd xyz | |
712 $ hg clone ../a | |
713 destination directory: a | |
714 updating to branch default | |
715 5 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
716 getting changed largefiles | |
717 3 largefiles updated, 0 removed | |
718 $ cd .. | |
719 | |
720 Ensure base clone command argument validation | |
721 | |
722 $ hg clone -U -u 0 a a-clone-failure | |
723 abort: cannot specify both --noupdate and --updaterev | |
724 [255] | |
725 | |
673 $ hg clone --all-largefiles a ssh://localhost/a | 726 $ hg clone --all-largefiles a ssh://localhost/a |
674 abort: --all-largefiles is incompatible with non-local destination ssh://localhost/a | 727 abort: --all-largefiles is incompatible with non-local destination ssh://localhost/a |
675 [255] | 728 [255] |
676 | 729 |
677 Test pulling with --all-largefiles flag | 730 Test pulling with --all-largefiles flag |