largefiles extension
Carter, Eli
Eli.Carter at tektronix.com
Wed Aug 31 13:28:19 CDT 2011
I just found the discussion of the largefiles extension being proposed for Mercurial's November release. ( http://markmail.org/thread/mi4fubexskuu6lo7 )
First, a small bugreport: in 'usage.txt', s/pattens/patterns/
Secondly, the 'hg add --large ...." should have an inverse option (like "--no-large"). Given a repository with existing largefiles, new files over 10M (default) are automatically added as largefiles. If you also have an over-sized text file that you _do_ want tracked normally, you'll have some challenges. I've seen things like SQL initialization scripts, or generated sources (which is a rant for another day...), or books (http://www.gutenberg.org/ebooks/29765) get rather large while still being files you want to edit and merge.
Similarly, the [largefiles].patterns should probably have [largefiles].excludes so you could specify that *.sql or *.c or *.txt files would never be treated as largefiles, even if they exceed the size boundary.
HTH,
Eli
More information about the Mercurial-devel
mailing list