Can I supress large file warning?
Matt Mackall
mpm at selenic.com
Wed Sep 3 17:18:28 UTC 2008
On Thu, 2008-08-28 at 13:07 +0200, Holger Hoffstaette wrote:
> On Thu, 28 Aug 2008 00:41:43 +0000, TK Soh wrote:
>
> > I am not so sure about -v, since it's not turned on by default. A warning
> > is a warning, so you want users to see them by default.
>
> The point was that things work despite this warning, so effectively all it
> does is condition users to ignore warnings - exactly the opposite of the
> original intention. Unless there is a decision to be made or action to be
> taken, messages like these do more harm than good.
There is a decision to be made: do you really want to check in this
large file, given there's a good chance your entire repo may no longer
be usable on other machines?
If you check in a >10MB file, you may not be able to check it out on or
serve it from a machine with 64MB of memory (common for virtual servers
used for hgweb). Or it may simply drive your system deep into swap and
take hours rather than seconds to check out.
This is a real warning and you ignore it at your own peril.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list