tests/test-issue322.out
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 10 Mar 2007 22:03:23 -0300
changeset 4174 7307d2e98b32
parent 2953 3d5547845158
child 5051 e3dffbdc6522
permissions -rw-r--r--
fix qrefresh'ing an empty patch This is not superefficient (the commit will have to walk the whole tree), but it works.

% 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