##// END OF EJS Templates
lfs: generate a large file by using `python` instead of yes | head...
Augie Fackler -
r35103:f6f8b7c8 default
parent child Browse files
Show More
@@ -199,7 +199,7 b' largefiles since it hooks cmdutil.add() '
199 commit. By the time the commit occurs, the tracked file is smaller than the
199 commit. By the time the commit occurs, the tracked file is smaller than the
200 threshold (assuming it is > 41, so the standins don't become lfs objects).
200 threshold (assuming it is > 41, so the standins don't become lfs objects).
201
201
202 $ yes | head -n 1048576 > large_by_size.bin
202 $ $PYTHON -c 'import sys ; sys.stdout.write("y\n" * 1048576)' > large_by_size.bin
203 $ hg --config largefiles.minsize=1 ci -Am 'large by size'
203 $ hg --config largefiles.minsize=1 ci -Am 'large by size'
204 adding large_by_size.bin as a largefile
204 adding large_by_size.bin as a largefile
205 $ hg manifest
205 $ hg manifest
General Comments 0
You need to be logged in to leave comments. Login now