mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
e0e01cbc81
Summary: This broke a bunch of tests. Revert it and re-enable all the tests. Reviewed By: DurhamG Differential Revision: D19665042 fbshipit-source-id: c3c17e3ac7e2ea028be5b5836bc8349cdf56184e
35 lines
615 B
Perl
35 lines
615 B
Perl
#chg-compatible
|
|
|
|
#if osx
|
|
#else
|
|
Test disabling the case conflict check (only fails on case sensitive systems)
|
|
$ hg init casecheck
|
|
$ cd casecheck
|
|
$ setconfig perftweaks.disablecasecheck=true
|
|
$ 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
|
|
$ cd ..
|
|
#endif
|
|
|
|
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
|
|
$ hg commit -m D -A D
|
|
|