comparison tests/test-largefiles.t @ 15303:07811b3b119b stable

largefiles: include 'largefiles' in converted repository requirements
author Eli Carter <eli.carter@tektronix.com>
date Tue, 18 Oct 2011 16:40:59 -0500
parents a0583f984fd1
children 9aa9d4bb3d88
comparison
equal deleted inserted replaced
15302:225d30bacabd 15303:07811b3b119b
659 large4-merge-test 659 large4-merge-test
660 $ cat sub2/large6 660 $ cat sub2/large6
661 large6-modified 661 large6-modified
662 $ cat sub2/large7 662 $ cat sub2/large7
663 large7 663 large7
664 $ cd ..
665
666 Verify that lfconvert adds 'largefiles' to .hg/requires
667 $ hg init bigfile-repo
668 $ cd bigfile-repo
669 $ dd if=/dev/zero bs=1k count=23k > a-large-file 2> /dev/null
670 $ hg addremove
671 adding a-large-file
672 a-large-file: up to 72 MB of RAM may be required to manage this file
673 (use 'hg revert a-large-file' to cancel the pending addition)
674 $ hg commit -m "Commit file without making it be a largefile"
675 $ find .hg/largefiles
676 .hg/largefiles
677 $ cd ..
678 $ hg lfconvert --size 10 bigfile-repo largefiles-repo
679 initializing destination largefiles-repo
680 $ cat largefiles-repo/.hg/requires
681 largefiles
682 revlogv1
683 fncache
684 store
685 dotencode
686 $ rm -rf bigfile-repo largefiles-repo
687