##// END OF EJS Templates
patch: return list of modified files even when an exception is raised...
patch: return list of modified files even when an exception is raised The file list is passed in as an argument and updated in place. This fixes issue399.

File last commit:

r2953:3d554784 default
r3465:2d35a8d2 default
Show More
test-issue322.out
12 lines | 379 B | text/plain | TextLexer
/ tests / test-issue322.out
Vadim Gelfer
fix issue 322....
r2953 % 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