mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
ab3a7cb21f
Summary: In preparation for merging fb-mercurial sources to the Eden repository, move everything from the top-level directory into an `eden/scm` subdirectory.
36 lines
628 B
Perl
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
|
|
|