sapling/tests/test-perftweaks.t
Jun Wu d78211e2c5 tests: remove some tag cache related tests
Summary:
We don't care about tag caches. Remove them. This makes it easier for the new
blackbox migration in a later diff, since I don't have to deal with those
tag cache tests using blackbox.

Reviewed By: xavierd

Differential Revision: D15685470

fbshipit-source-id: 4e56daaddc4e0a9f9d590ddd51ed164c8f5228ab
2019-06-06 20:23:50 -07:00

36 lines
628 B
Perl

#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