Mercurial > public > mercurial-scm > hg-stable
diff tests/test-largefiles.t @ 15944:f19d5c852f9b stable
largefiles: add --normal option to hg add (issue3061)
author | Na'Tosha Bard <natosha@unity3d.com> |
---|---|
date | Fri, 02 Dec 2011 18:20:32 +0100 |
parents | 2dc599583ebe |
children | bf502ccc46d7 |
line wrap: on
line diff
--- a/tests/test-largefiles.t Fri Jan 20 11:56:12 2012 +0100 +++ b/tests/test-largefiles.t Fri Dec 02 18:20:32 2011 +0100 @@ -768,7 +768,18 @@ $ hg st A sub2/large6-renamed R sub2/large6 - $ cd ../.. + $ cd .. + +Test --normal flag + + $ dd if=/dev/urandom bs=2k count=11k > new-largefile 2> /dev/null + $ hg add --normal --large new-largefile + abort: --normal cannot be used with --large + [255] + $ 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) + $ cd .. vanilla clients not locked out from largefiles servers on vanilla repos $ mkdir r1