Mercurial > public > mercurial-scm > hg
view tests/test-casecollision.t @ 14175:b452abffcb15
tests: add pyflakes checking for assigned to but never used
author | timeless <timeless@mozdev.org> |
---|---|
date | Sun, 01 May 2011 17:27:41 +0200 |
parents | 04ce8fa1015d |
children | 524c560e2d32 |
line wrap: on
line source
run only on case-sensitive filesystems $ "$TESTDIR/hghave" no-icasefs || exit 80 test file addition with colliding case $ hg init repo1 $ cd repo1 $ echo a > a $ echo A > A $ hg add a $ hg st A a ? A $ hg add --config ui.portablefilenames=abort A abort: possible case-folding collision for A [255] $ hg st A a ? A $ hg add A warning: possible case-folding collision for A $ hg st A A A a $ hg forget A $ hg st A a ? A $ hg add --config ui.portablefilenames=no A $ hg st A A A a $ cd ..