# HG changeset patch # User Na'Tosha Bard # Date 1319818664 -7200 # Node ID b59e6b1e0c959a750c68c486fdbf715f7c184ed5 # Parent c519cd8f0169f530eea221837bbce9fce8e46be3 largefiles: test that a largefile cannot accidentally be re-added as a regular file diff -r c519cd8f0169 -r b59e6b1e0c95 tests/test-largefiles.t --- a/tests/test-largefiles.t Sat Oct 29 11:02:23 2011 -0500 +++ b/tests/test-largefiles.t Fri Oct 28 18:17:44 2011 +0200 @@ -732,6 +732,14 @@ large6-modified $ cat sub2/large7 large7 + +Test that a normal file and a largefile with the same name and path cannot +coexist. + + $ rm sub2/large7 + $ echo "largeasnormal" > sub2/large7 + $ hg add sub2/large7 + sub2/large7 already a largefile $ cd .. vanilla clients not locked out from largefiles servers on vanilla repos