Mercurial > hg
view tests/test-audit-path.out @ 7567:0946294d1f32
convert/gnuarch: fix switched copy source and destination
Reported by Edouard Gomez <ed.gomez@free.fr>
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 05 Jan 2009 14:34:20 +0100 |
parents | 11a4eb81fb4f |
children | e9d3a11eacad |
line wrap: on
line source
% 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' % unbundle tampered bundle adding changesets adding manifests adding file changes added 4 changesets with 5 changes to 5 files (+3 heads) (run 'hg heads' to see heads, 'hg merge' to merge) % attack .hg/test .hg/test abort: path contains illegal component: .hg/test % attack foo/.hg/test foo/.hg/test abort: path 'foo/.hg/test' is inside repo 'foo' % attack back/test where back symlinks to .. back back/test abort: path 'back/test' traverses symbolic link 'back' % attack ../test ../test abort: path contains illegal component: ../test