view tests/test-issue322.out @ 7035:9d023ef7b467

forbid username with '\n' at the changelog level It was already forbidden for ui.username() but no verification were made for username passed through the commandline.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 13 Sep 2008 17:46:09 +0200
parents e3dffbdc6522
children
line wrap: on
line source

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