comparison 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
comparison
equal deleted inserted replaced
38599:f9805627af1f 38600:a936d1368fc5
1858 abort: --normal cannot be used with --large 1858 abort: --normal cannot be used with --large
1859 [255] 1859 [255]
1860 $ hg add --normal new-largefile 1860 $ hg add --normal new-largefile
1861 new-largefile: up to 69 MB of RAM may be required to manage this file 1861 new-largefile: up to 69 MB of RAM may be required to manage this file
1862 (use 'hg revert new-largefile' to cancel the pending addition) 1862 (use 'hg revert new-largefile' to cancel the pending addition)
1863 $ hg revert new-largefile
1864 $ hg --config ui.large-file-limit=22M add --normal new-largefile
1863 1865
1864 Test explicit commit of switch between normal and largefile - make sure both 1866 Test explicit commit of switch between normal and largefile - make sure both
1865 the add and the remove is committed. 1867 the add and the remove is committed.
1866 1868
1867 $ hg up -qC 1869 $ hg up -qC