mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
75a8173a10
Summary: Add `#chg-compatible` to 572 tests that seem to pass with chg enabled. This should make them run faster. Reviewed By: xavierd Differential Revision: D18870507 fbshipit-source-id: fe895e733efffc9286cd3d17c7a156c803124395
38 lines
645 B
Perl
38 lines
645 B
Perl
#chg-compatible
|
|
|
|
#if osx
|
|
#else
|
|
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
|
|
$ 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
|
|
|