Mercurial > hg
diff tests/test-largefiles.t @ 38600:a936d1368fc5
ui: make the large file warning limit fully configurable
While add --large can be used to override it selectively, often enough
the user simply doesn't care about machines with less than 100MB RAM or
so, so make it possible to just specify a larger limit in hgrc.
Differential Revision: https://phab.mercurial-scm.org/D3893
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Fri, 06 Jul 2018 17:57:46 +0200 |
parents | 1398c2d74d3a |
children | cb70501d8b71 |
line wrap: on
line diff
--- a/tests/test-largefiles.t Sat Jun 09 18:26:04 2018 +0900 +++ b/tests/test-largefiles.t Fri Jul 06 17:57:46 2018 +0200 @@ -1860,6 +1860,8 @@ $ hg add --normal new-largefile new-largefile: up to 69 MB of RAM may be required to manage this file (use 'hg revert new-largefile' to cancel the pending addition) + $ hg revert new-largefile + $ hg --config ui.large-file-limit=22M add --normal new-largefile Test explicit commit of switch between normal and largefile - make sure both the add and the remove is committed.