##// END OF EJS Templates
push: don't treat bookmark as a found change...
push: don't treat bookmark as a found change Treating bookmarks as a found change results in confusing documentation or output and is less useful for scripting.

File last commit:

r14178:524c560e default
r16038:dad96e75 stable
Show More
test-casecollision.t
40 lines | 638 B | text/troff | Tads3Lexer
/ tests / test-casecollision.t
Kevin Gessner
add: notify when adding a file that would cause a case-folding collision...
r14068 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
Adrian Buehlmann
test-casecollision.t: add test for case changing rename
r14178
case changing rename must not warn or abort
$ echo c > c
$ hg ci -qAmx
$ hg mv c C
Kevin Gessner
add: notify when adding a file that would cause a case-folding collision...
r14068 $ cd ..