# HG changeset patch # User Na'Tosha Bard # Date 2011-10-28 16:17:44 # Node ID b59e6b1e0c959a750c68c486fdbf715f7c184ed5 # Parent c519cd8f0169f530eea221837bbce9fce8e46be3 largefiles: test that a largefile cannot accidentally be re-added as a regular file diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t --- a/tests/test-largefiles.t +++ b/tests/test-largefiles.t @@ -732,6 +732,14 @@ been very problematic). 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