2016-10-25 19:03:15 +03:00
|
|
|
#if osx
|
|
|
|
#else
|
2015-10-07 22:29:56 +03:00
|
|
|
Test disabling the case conflict check (only fails on case sensitive systems)
|
|
|
|
$ hg init casecheck
|
|
|
|
$ cd casecheck
|
|
|
|
$ cat >> .hg/hgrc <<EOF
|
|
|
|
> [perftweaks]
|
|
|
|
> disablecasecheck=True
|
|
|
|
> EOF
|
|
|
|
$ touch a
|
|
|
|
$ hg add a
|
|
|
|
$ hg commit -m a
|
|
|
|
$ touch A
|
|
|
|
$ hg add A
|
|
|
|
warning: possible case-folding collision for A
|
|
|
|
$ hg commit -m A
|
2015-11-09 22:33:38 +03:00
|
|
|
$ cd ..
|
2016-10-25 19:03:15 +03:00
|
|
|
#endif
|
2015-11-09 22:33:38 +03:00
|
|
|
|
2017-12-05 22:53:07 +03:00
|
|
|
Test avoiding calculating head changes during commit
|
|
|
|
|
|
|
|
$ hg init branchatcommit
|
|
|
|
$ cd branchatcommit
|
|
|
|
$ hg debugdrawdag<<'EOS'
|
|
|
|
> B
|
|
|
|
> |
|
|
|
|
> A
|
|
|
|
> EOS
|
|
|
|
$ hg up -q A
|
|
|
|
$ echo C > C
|
|
|
|
$ hg commit -m C -A C
|
|
|
|
$ hg up -q A
|
|
|
|
$ echo D > D
|
2018-04-14 01:40:57 +03:00
|
|
|
$ hg commit -m D -A D
|
2017-12-05 22:53:07 +03:00
|
|
|
|