Can I supress large file warning?
Martin Geisler
mg at daimi.au.dk
Thu Sep 4 01:42:25 CDT 2008
Giorgos Keramidas <keramida at ceid.upatras.gr> writes:
> diff -r 63d1d3e489f8 doc/hgrc.5.txt
> --- a/doc/hgrc.5.txt Tue Sep 02 15:12:50 2008 +0200
> +++ b/doc/hgrc.5.txt Thu Sep 04 01:06:23 2008 +0300
> @@ -569,6 +569,11 @@
> format, see the hgignore(5) man page.
> interactive;;
> Allow to prompt the user. True or False. Default is True.
> + largefilesize;;
> + If a file is larger than largefilesize, we warn the user about
> + potential performance issues on "hg add". The default limit for
> + file sizes is 10.000.000 bytes. largefilesize should be a number
> + of bytes larger than or equal to 2.000.000.
I think it is a good idea to make this configurable, maybe with 0
meaning "stop bothering me". Also, would it not be better to make the
unit be mebibytes, that is, 2**20 bytes?
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
More information about the Mercurial
mailing list