tests/test-issue322.out
author Lee Cantey <lcantey@gmail.com>
Mon, 09 Jul 2007 10:46:41 -0700
changeset 4858 30762680fcd2
parent 2953 3d5547845158
child 5051 e3dffbdc6522
permissions -rw-r--r--
Fix for win32text corrupting files that have CRLF line endings. (issue302) Also generate a warning when encountering this condition. From Shun-ichi Goto in attachment win32text-patch3.txt for issue 302.

% file replaced with directory
adding a
% should fail - would corrupt dirstate
abort: file named 'a' already in dirstate
% directory replaced with file
adding a/a
% should fail - would corrupt dirstate
abort: directory named 'a' already in dirstate
% directory replaced with file
adding b/c/d
% should fail - would corrupt dirstate
abort: directory named 'b' already in dirstate