tests/test-audit-path.out
author Paul Moore <p.f.moore@gmail.com>
Fri, 06 Jun 2008 19:23:29 +0100
changeset 6677 9865e15febd0
parent 5158 d316124ebbea
child 7554 11a4eb81fb4f
permissions -rw-r--r--
Add a normalize() method to dirstate This method returns the normalised form of a path. This is - the form in the dirstate, if available, or - the form on disk, if available, or - the form passed on the command line normalize() is called on the type-'f' result of statwalk. This fixes issues 910 and 1092

% should fail
abort: path contains illegal component: .hg/00changelog.i
adding a/a
% should fail
abort: path 'b/b' traverses symbolic link 'b'
% should succeed
% should still fail - maybe
abort: path 'b/b' traverses symbolic link 'b'